jpicedt.graphic.toolkit
Class EditorKit.ToggleUseConvexZoneModeAction
java.lang.Object
javax.swing.AbstractAction
jpicedt.graphic.toolkit.PEAbstractAction<ConvexZone>
jpicedt.graphic.toolkit.PEConvexZoneAction
jpicedt.graphic.toolkit.EditorKit.ToggleUseConvexZoneModeAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- EditorKit
public static class EditorKit.ToggleUseConvexZoneModeAction
- extends PEConvexZoneAction
Bascule le mode use-convex-zone-mode de l'EditorKit
entre
USE
et NOT_USE
.
- 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 |
Method Summary |
void |
actionPerformed(ActionEvent e)
This is a default implementation of the "actionPerformed" method suited for undoable actions :
we first call "beginUndoableUpdate" with "actionName" as the presentation name,
then delegate to "undoableActionPerformed", finally mark the undoable-update as ended. |
KEY
public static final String KEY
- See Also:
- Constant Field Values
EditorKit.ToggleUseConvexZoneModeAction
public EditorKit.ToggleUseConvexZoneModeAction(ActionDispatcher actionDispatcher,
ActionLocalizer localizer)
- Construct a new ToggleUseConvexZoneModeAction.
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from class:
PEAbstractAction
- This is a default implementation of the "actionPerformed" method suited for undoable actions :
we first call "beginUndoableUpdate" with "actionName" as the presentation name,
then delegate to "undoableActionPerformed", finally mark the undoable-update as ended.
Action that don't want to be undoable should simply override this method as usual.
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class PEAbstractAction<ConvexZone>
Submit a bug : syd@jpicedt.org