com.xpn.xwiki.wysiwyg.client.ui.cmd.internal
Class RedoExecutable
java.lang.Object
com.xpn.xwiki.wysiwyg.client.ui.cmd.internal.RedoExecutable
- All Implemented Interfaces:
- Executable
public class RedoExecutable
- extends java.lang.Object
- implements Executable
|
Method Summary |
boolean |
execute(com.google.gwt.user.client.Element target,
java.lang.String param)
Executes the associated Command on the specified target with the given parameter. |
java.lang.String |
getParameter(com.google.gwt.user.client.Element target)
|
boolean |
isEnabled(com.google.gwt.user.client.Element target)
|
boolean |
isExecuted(com.google.gwt.user.client.Element target)
|
boolean |
isSupported(com.google.gwt.user.client.Element target)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedoExecutable
public RedoExecutable(History history)
execute
public boolean execute(com.google.gwt.user.client.Element target,
java.lang.String param)
- Executes the associated
Command on the specified target with the given parameter.
- Specified by:
execute in interface Executable
- Parameters:
target - Execution target.param - Execution parameter.
- Returns:
- true if execution succeeds.
- See Also:
Executable.execute(Element, String)
getParameter
public java.lang.String getParameter(com.google.gwt.user.client.Element target)
-
- Specified by:
getParameter in interface Executable
- Parameters:
target - Execution target.
- Returns:
- the previous execution parameter, if
Executable.isExecuted(Element) returns true, null otherwise. - See Also:
Executable.getParameter(Element)
isEnabled
public boolean isEnabled(com.google.gwt.user.client.Element target)
-
- Specified by:
isEnabled in interface Executable
- Parameters:
target - Execution target.
- Returns:
- true if the associated
Command can be executed on the current state of the given target. - See Also:
Executable.isEnabled(Element)
isExecuted
public boolean isExecuted(com.google.gwt.user.client.Element target)
-
- Specified by:
isExecuted in interface Executable
- Parameters:
target - Execution target.
- Returns:
- true if the associated
Command has been executed on the current state of the given target. - See Also:
Executable.isExecuted(Element)
isSupported
public boolean isSupported(com.google.gwt.user.client.Element target)
-
- Specified by:
isSupported in interface Executable
- Parameters:
target - Execution target.
- Returns:
- true if the associated
Command is supported by the specified target. - See Also:
Executable.isSupported(Element)
Copyright © 2004-2008 XWiki. All Rights Reserved.