com.swfm.mica.events
Class MiIExecuteCommand
java.lang.Object
com.swfm.mica.events.MiEventHandler
com.swfm.mica.events.MiIExecuteCommand
- All Implemented Interfaces:
- MiiCommandNames, MiiEventHandler, MiiEventTypes
- public class MiIExecuteCommand
- extends MiEventHandler
- Version:
- %I% %G%
- Author:
- Michael L. Davis
| Methods inherited from class com.swfm.mica.events.MiEventHandler |
addEventToCommandTranslation, addEventToCommandTranslation, addEventToCommandTranslation, getAlwaysConsumeTriggerEvents, getEvent, getEventToCommandTranslation, getName, getNameForType, getObject, getRequestedCommands, getRequestedEvents, getTarget, getType, isCommand, isEnabled, isPositionDependent, isSingleton, isType, processCommand, processCommand, processEvent, removeAllEventToCommandTranslations, removeEventToCommandTranslation, removeEventToCommandTranslation, removeEventToCommandTranslation, removeEventToCommandTranslation, setAlwaysConsumeTriggerEvents, setEnabled, setEventToCommandTranslation, setEventToCommandTranslation, setEventToCommandTranslation, setIsSingleton, setName, setObject, setPositionDependent, setPropertyValue, setTarget |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MiIExecuteCommand
public MiIExecuteCommand(MiEvent trigger,
MiiCommandHandler handler)
MiIExecuteCommand
public MiIExecuteCommand(MiEvent trigger,
MiiCommandHandler handler,
java.lang.String arg)
MiIExecuteCommand
public MiIExecuteCommand(MiEvent trigger,
MiiCommandHandler handler,
java.lang.String arg,
int returnCode)
getCommandHandler
public MiiCommandHandler getCommandHandler()
setCommandHandler
public void setCommandHandler(MiiCommandHandler m)
getCommand
public java.lang.String getCommand()
- Description copied from class:
MiEventHandler
- Gets the command to use.
- Overrides:
getCommand in class MiEventHandler
- Returns:
- The command use
setCommand
public void setCommand(java.lang.String arg)
- Description copied from class:
MiEventHandler
- Sets the command to use.
- Overrides:
setCommand in class MiEventHandler
- Parameters:
arg - The command use
copy
public MiiEventHandler copy()
- Returns a copy of this MiEventHandler.
- Specified by:
copy in interface MiiEventHandler- Overrides:
copy in class MiEventHandler
- Returns:
- the copy
toString
public java.lang.String toString()
- Returns information about this MiEventHandler.
- Overrides:
toString in class MiEventHandler
- Returns:
- textual information (class name +
unique numerical id + [disabled])