org.xwiki.gwt.wysiwyg.client.plugin.submit.exec
Class EnableExecutable
java.lang.Object
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
org.xwiki.gwt.wysiwyg.client.plugin.submit.exec.EnableExecutable
- All Implemented Interfaces:
- Executable
public class EnableExecutable
- extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
Enables or disables the rich text area. When the rich text area is disabled its content is not submitted.
- Version:
- $Id: EnableExecutable.java 26786 2010-02-07 16:46:17Z mflorea $
|
Constructor Summary |
EnableExecutable(RichTextArea rta)
Creates a new executable that can be used to enable and disable the specified rich text area. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnableExecutable
public EnableExecutable(RichTextArea rta)
- Creates a new executable that can be used to enable and disable the specified rich text area.
- Parameters:
rta - the execution target
execute
public boolean execute(java.lang.String parameter)
-
- See Also:
Executable.execute(String)
getParameter
public java.lang.String getParameter()
-
- See Also:
Executable.getParameter()
isEnabled
public boolean isEnabled()
-
- Specified by:
isEnabled in interface Executable- Overrides:
isEnabled in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
- See Also:
AbstractRichTextAreaExecutable.isEnabled()
isExecuted
public boolean isExecuted()
-
- See Also:
Executable.isExecuted()
isSupported
public boolean isSupported()
-
- Specified by:
isSupported in interface Executable- Overrides:
isSupported in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
- See Also:
AbstractRichTextAreaExecutable.isSupported()
Copyright © 2004-2010 XWiki. All Rights Reserved.