org.xwiki.gwt.user.client.ui.rta.cmd.internal
Class AbstractRichTextAreaExecutable
java.lang.Object
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
- All Implemented Interfaces:
- Executable
- Direct Known Subclasses:
- AbstractSelectionExecutable, DefaultExecutable, EnableExecutable, ResetExecutable, StyleWithCssExecutable, SubmitExecutable
public abstract class AbstractRichTextAreaExecutable
- extends Object
- implements Executable
Abstract Executable
whose execution target is a rich text area.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rta
protected final RichTextArea rta
- The execution target.
AbstractRichTextAreaExecutable
public AbstractRichTextAreaExecutable(RichTextArea rta)
- Creates a new executable to be executed on the specified rich text area.
- Parameters:
rta
- the execution target
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface Executable
- Returns:
true
if this executable can be executed on its underlying execution target, false
otherwise- See Also:
CommandManager.isEnabled(Command)
isSupported
public boolean isSupported()
- Specified by:
isSupported
in interface Executable
- Returns:
true
if this executable is supported by its underlying execution target, false
otherwise- See Also:
CommandManager.isSupported(Command)