com.swfm.mica.events
Class MiIFlowEditorEventHandler
java.lang.Object
com.swfm.mica.events.MiEventHandler
com.swfm.mica.events.MiIFlowEditorEventHandler
- All Implemented Interfaces:
- MiiCommandNames, MiiEventHandler, MiiEventTypes
- public class MiIFlowEditorEventHandler
- extends MiEventHandler
- Version:
- %I% %G%
- Author:
- Michael L. Davis
| Methods inherited from class com.swfm.mica.events.MiEventHandler |
addEventToCommandTranslation, addEventToCommandTranslation, addEventToCommandTranslation, copy, 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 |
MiIFlowEditorEventHandler
public MiIFlowEditorEventHandler()
MiIFlowEditorEventHandler
public MiIFlowEditorEventHandler(MiiFlowEditor textEditor)
setTextEditor
public void setTextEditor(MiiFlowEditor textEditor)
setSelectAllUponKeyboardFocus
public void setSelectAllUponKeyboardFocus(boolean flag)
getSelectAllUponKeyboardFocus
public boolean getSelectAllUponKeyboardFocus()
setSelectEntireTextAsPartInEditor
public void setSelectEntireTextAsPartInEditor(boolean flag)
getSelectEntireTextAsPartInEditor
public boolean getSelectEntireTextAsPartInEditor()
setMustDoubleClickToEdit
public void setMustDoubleClickToEdit(boolean flag)
getMustDoubleClickToEdit
public boolean getMustDoubleClickToEdit()
setCursorPosition
public void setCursorPosition(MiPoint pt)
updateCursorPosition
public void updateCursorPosition()
setKeyboardFocus
public void setKeyboardFocus(boolean flag)
hasKeyboardFocus
public boolean hasKeyboardFocus()
setCursorPosition
public void setCursorPosition(int pos)
getCursorPosition
public int getCursorPosition()
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