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

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.BackColorExecutable
All Implemented Interfaces:
Executable

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

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

Version:
$Id: BackColorExecutable.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
BackColorExecutable(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

BackColorExecutable

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

Parameters:
rta - the execution target


Copyright © 2004-2010 XWiki. All Rights Reserved.