com.swfm.mica.events
Class MiICreateText
java.lang.Object
com.swfm.mica.events.MiEventHandler
com.swfm.mica.events.MiICreateText
- All Implemented Interfaces:
- MiiActionHandler, MiiActionTypes, MiiCommandNames, MiiEventHandler, MiiEventTypes, MiiTypes
- public class MiICreateText
- extends MiEventHandler
- implements MiiActionHandler, MiiActionTypes, MiiTypes
- Version:
- %I% %G%
- Author:
- Michael L. Davis
| Methods inherited from class com.swfm.mica.events.MiEventHandler |
addEventToCommandTranslation, addEventToCommandTranslation, addEventToCommandTranslation, getAlwaysConsumeTriggerEvents, getCommand, getEvent, getEventToCommandTranslation, getName, getNameForType, getObject, getRequestedCommands, getRequestedEvents, getTarget, getType, isCommand, isEnabled, isPositionDependent, isSingleton, isType, processCommand, processCommand, removeAllEventToCommandTranslations, removeEventToCommandTranslation, removeEventToCommandTranslation, removeEventToCommandTranslation, removeEventToCommandTranslation, setAlwaysConsumeTriggerEvents, setCommand, setEnabled, setEventToCommandTranslation, setEventToCommandTranslation, setEventToCommandTranslation, setIsSingleton, setName, setObject, setPositionDependent, setPropertyValue, setTarget, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AddTextEventName
public static final java.lang.String AddTextEventName
- See Also:
- Constant Field Values
AddTextToSelectedShapeEventName
public static final java.lang.String AddTextToSelectedShapeEventName
- See Also:
- Constant Field Values
AddTextToSelectedShapeAttachmentTag
public static final java.lang.String AddTextToSelectedShapeAttachmentTag
- See Also:
- Constant Field Values
MiICreateText
public MiICreateText()
setPrototypeShape
public void setPrototypeShape(MiPart obj)
getPrototypeShape
public MiPart getPrototypeShape()
processEvent
public int processEvent(MiEvent event)
- Description copied from class:
MiEventHandler
- Processes the given event.
- Specified by:
processEvent in interface MiiEventHandler- Overrides:
processEvent in class MiEventHandler
- Parameters:
event - The event to process
- Returns:
- Mi_CONSUME_EVENT if no other event
handlers should see this event
Mi_PROPOGATE_EVENT if other event
handlers can also see this event
processAction
public boolean processAction(MiiAction action)
- Description copied from interface:
MiiActionHandler
- Processes the given action.
- Specified by:
processAction in interface MiiActionHandler
- Parameters:
action - the action to process
- Returns:
- true if it is OK to send
action to the next action handler
false if it is NOT OK to send
action to the next action handler
copy
public MiiEventHandler copy()
- Description copied from class:
MiEventHandler
- Returns a copy of this MiEventHandler.
- Specified by:
copy in interface MiiEventHandler- Overrides:
copy in class MiEventHandler
- Returns:
- the copy