| java.lang.Object com.ibm.richtext.textpanel.Behavior com.ibm.richtext.textpanel.TextEditBehavior
Method Summary | |
public boolean | canRedo() | public boolean | canUndo() | void | doModifyStyles(int start, int limit, StyleModifier modifier, boolean character, TextOffset newSelStart, TextOffset newSelEnd) | void | doReplaceSelectedText(char ch, AttributeMap charStyle) | void | doReplaceText(int start, int limit, MConstText newText, TextOffset newSelStart, TextOffset newSelEnd) | public int | getCommandLogSize() | public AttributeMap | getInsertionPointStyle() | public KeyRemap | getKeyRemap() | public boolean | isModified() | public boolean | keyPressed(KeyEvent e) | public boolean | keyTyped(KeyEvent e) | public boolean | mouseReleased(MouseEvent e) | public void | setKeyRemap(KeyRemap remap) | void | setSavedTypingStyle(AttributeMap style, int insPt) Only TypingInteractor should call this. | void | setTypingInteractor(TypingInteractor interactor) Only TypingInteractor should call this. | public boolean | textControlEventOccurred(Behavior.EventType event, Object what) | public static AttributeMap | typingStyleAt(MConstText text, int start, int limit) Return the style appropriate for typing on the given selection
range. |
canRedo | public boolean canRedo()(Code) | | |
canUndo | public boolean canUndo()(Code) | | |
doModifyStyles | void doModifyStyles(int start, int limit, StyleModifier modifier, boolean character, TextOffset newSelStart, TextOffset newSelEnd)(Code) | | Only text commands should call this method!
|
doReplaceSelectedText | void doReplaceSelectedText(char ch, AttributeMap charStyle)(Code) | | Only the typing interactor should call this!
|
doReplaceText | void doReplaceText(int start, int limit, MConstText newText, TextOffset newSelStart, TextOffset newSelEnd)(Code) | | Only TypingInteractor and TextCommand should call this!
|
getCommandLogSize | public int getCommandLogSize()(Code) | | |
isModified | public boolean isModified()(Code) | | |
setSavedTypingStyle | void setSavedTypingStyle(AttributeMap style, int insPt)(Code) | | Only TypingInteractor should call this.
|
setTypingInteractor | void setTypingInteractor(TypingInteractor interactor)(Code) | | Only TypingInteractor should call this.
|
typingStyleAt | public static AttributeMap typingStyleAt(MConstText text, int start, int limit)(Code) | | Return the style appropriate for typing on the given selection
range.
|
|
|