com.xpn.xwiki.wysiwyg.client.ui.cmd.internal
Class AbstractCommandManager
java.lang.Object
com.xpn.xwiki.wysiwyg.client.ui.cmd.internal.AbstractCommandManager
- All Implemented Interfaces:
- CommandManager, SourcesCommandEvents
- Direct Known Subclasses:
- DefaultCommandManager
public abstract class AbstractCommandManager
- extends java.lang.Object
- implements CommandManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandListeners
protected final CommandListenerCollection commandListeners
AbstractCommandManager
public AbstractCommandManager()
execute
public boolean execute(Command cmd,
int param)
-
- Specified by:
execute in interface CommandManager
- See Also:
CommandManager.execute(Command, int)
execute
public boolean execute(Command cmd,
boolean param)
-
- Specified by:
execute in interface CommandManager
- See Also:
CommandManager.execute(Command, boolean)
execute
public boolean execute(Command cmd)
- Executes a command on the current document, current selection, or the given range.
- Specified by:
execute in interface CommandManager
- Parameters:
cmd - The command to execute.
- Returns:
true if the command is successful.- See Also:
CommandManager.execute(Command)
getIntegerValue
public java.lang.Integer getIntegerValue(Command cmd)
-
- Specified by:
getIntegerValue in interface CommandManager
- See Also:
CommandManager.getIntegerValue(Command)
getBooleanValue
public java.lang.Boolean getBooleanValue(Command cmd)
-
- Specified by:
getBooleanValue in interface CommandManager
- See Also:
CommandManager.getBooleanValue(Command)
addCommandListener
public void addCommandListener(CommandListener listener)
-
- Specified by:
addCommandListener in interface SourcesCommandEvents
- See Also:
SourcesCommandEvents.addCommandListener(CommandListener)
removeCommandListener
public void removeCommandListener(CommandListener listener)
-
- Specified by:
removeCommandListener in interface SourcesCommandEvents
- See Also:
SourcesCommandEvents.removeCommandListener(CommandListener)
Copyright © 2004-2008 XWiki. All Rights Reserved.