com.swfm.mica.events
Class MiICreateText

java.lang.Object
  extended bycom.swfm.mica.events.MiEventHandler
      extended bycom.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

Field Summary
static java.lang.String AddTextEventName
           
static java.lang.String AddTextToSelectedShapeAttachmentTag
           
static java.lang.String AddTextToSelectedShapeEventName
           
         
Constructor Summary
MiICreateText()
           
 
Method Summary
 MiiEventHandler copy()
          Returns a copy of this MiEventHandler.
 MiPart getPrototypeShape()
           
 boolean processAction(MiiAction action)
          Processes the given action.
 int processEvent(MiEvent event)
          Processes the given event.
 void setPrototypeShape(MiPart obj)
           
 
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
 

Field Detail

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
Constructor Detail

MiICreateText

public MiICreateText()
Method Detail

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