jpicedt.graphic.toolkit
Class EditorKit.EditTextModeAction
java.lang.Object
javax.swing.AbstractAction
jpicedt.graphic.toolkit.PEAbstractAction<Element>
jpicedt.graphic.toolkit.PEAction
jpicedt.graphic.toolkit.EditorKit.EditTextModeAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- EditorKit
public static class EditorKit.EditTextModeAction
- extends PEAction
Allows the user to switch the text to a small icon and back to full size.
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
KEY
public static final String KEY
- See Also:
- Constant Field Values
EditorKit.EditTextModeAction
public EditorKit.EditTextModeAction(ActionDispatcher actionDispatcher,
ActionLocalizer localizer)
- target=currently selected object if there's one, no effect otherwise.
EditorKit.EditTextModeAction
public EditorKit.EditTextModeAction(ActionDispatcher actionDispatcher,
ActionLocalizer localizer,
Element target)
- target=given element
actionPerformed
public void actionPerformed(ActionEvent e)
- changes the current textmode
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class PEAbstractAction<Element>
Submit a bug : syd@jpicedt.org