org.xwiki.gwt.wysiwyg.client.plugin.color.exec
Class HiliteColorExecutable

java.lang.Object
  extended by org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
      extended by org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable
          extended by org.xwiki.gwt.wysiwyg.client.plugin.color.exec.HiliteColorExecutable
All Implemented Interfaces:
Executable

public class HiliteColorExecutable
extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable

Changes the background color of the current selection in Mozilla. It executes the built-in command "hilitecolor". We created this class solely because in Mozilla the "backcolor" command sets the background color of the entire rich text area. The implementation for the other browsers is in BackColorExecutable. We use deferred binding to load the proper class.

Version:
$Id: HiliteColorExecutable.java 26786 2010-02-07 16:46:17Z mflorea $

Field Summary
 
Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable
command
 
Fields inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
rta
 
Constructor Summary
HiliteColorExecutable(RichTextArea rta)
          Creates a new executable of this type.
 
Method Summary
 
Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.DefaultExecutable
execute, getParameter, isEnabled, isExecuted, isSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiliteColorExecutable

public HiliteColorExecutable(RichTextArea rta)
Creates a new executable of this type.

Parameters:
rta - the execution target


Copyright © 2004-2011 XWiki. All Rights Reserved.