| java.lang.Object com.ibm.richtext.textpanel.Behavior
All known Subclasses: com.ibm.richtext.textpanel.TextEditBehavior, com.ibm.richtext.textpanel.TypingInteractor, com.ibm.richtext.textpanel.TextSelection, com.ibm.richtext.textpanel.SelectionDragInteractor,
Behavior | abstract class Behavior (Code) | | A class that handles events for a BehaviorOwner.
A behavior enacpsulates some piece of the event-handling logic for a component.
This allows the client to separate event-handling logic out into separate classes
according to function, or to dynamically change the way a component handles
events without adding a lot of special-case code to the panel itself.
Behaviors are stored in a linked list, and all behaviors get a crack at an event before
the owner gets a crack at them (right now, we rely on objects that implement
BehaviorOwner to support these semantics).
Behavior provides all the same event-handling functions that Component provides, and
they all have exactly the same syntax and semantics.
|
Inner Class :static class EventType | |
CHARACTER_STYLE_MOD | final static EventType CHARACTER_STYLE_MOD(Code) | | |
CLEAR | final static EventType CLEAR(Code) | | |
CLEAR_COMMAND_LOG | final static EventType CLEAR_COMMAND_LOG(Code) | | |
COPY | final static EventType COPY(Code) | | |
CUT | final static EventType CUT(Code) | | |
PARAGRAPH_STYLE_MOD | final static EventType PARAGRAPH_STYLE_MOD(Code) | | |
PASTE | final static EventType PASTE(Code) | | |
REDO | final static EventType REDO(Code) | | |
REPLACE | final static EventType REPLACE(Code) | | |
SELECT | final static EventType SELECT(Code) | | |
SET_COMMAND_LOG_SIZE | final static EventType SET_COMMAND_LOG_SIZE(Code) | | |
SET_MODIFIED | final static EventType SET_MODIFIED(Code) | | |
UNDO | final static EventType UNDO(Code) | | |
Behavior | public Behavior()(Code) | | |
removeFromOwner | public void removeFromOwner()(Code) | | |
textControlEventOccurred | public boolean textControlEventOccurred(EventType event, Object data)(Code) | | |
|
|