public abstract class AbstractUndoRedoAction extends DefaultSyntaxAction
| Modifier and Type | Field and Description |
|---|---|
protected SyntaxDocument |
doc |
ACTION_PREFIX, LARGE_ICONS_LOC_PREFIX, SMALL_ICONS_LOC_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractUndoRedoAction(java.lang.String property,
java.lang.String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
deinstall(javax.swing.JEditorPane editor) |
void |
install(javax.swing.JEditorPane editor,
Configuration config,
java.lang.String name)
Configure the actions in this class
|
protected abstract boolean |
updateState() |
actionPerformed, actionPerformed, setLargeIcon, setMenuText, setSmallIcon, setToolTip, toStringaugmentList, getFocusedComponent, getTextComponentaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected SyntaxDocument doc
protected AbstractUndoRedoAction(java.lang.String property,
java.lang.String key)
protected abstract boolean updateState()
public void install(javax.swing.JEditorPane editor,
Configuration config,
java.lang.String name)
SyntaxActioninstall in interface SyntaxActioninstall in class DefaultSyntaxActionconfig - the properties from which the action was constructedname - name of the action, (prefixed by Action.) will be obtained from the property Key as the
text following the Action.public void deinstall(javax.swing.JEditorPane editor)
deinstall in interface SyntaxActiondeinstall in class DefaultSyntaxAction