public static class EditorKit.SelectMouseToolAction extends PEAction
Constructor and Description |
---|
SelectMouseToolAction(ActionDispatcher actionDispatcher,
ActionLocalizer localizer,
java.lang.String mouseToolName)
Construct a new SelectMouseToolAction for the given mouse-tool name.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.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.
|
getCanvas, getDrawing, getEditorKit, getSelectedObject, setAttribute, undoableActionPerformed
public SelectMouseToolAction(ActionDispatcher actionDispatcher, ActionLocalizer localizer, java.lang.String mouseToolName)
public void actionPerformed(java.awt.event.ActionEvent e)
PEAction
Action that don't want to be undoable should simply override this method as usual.
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class PEAction
Submit a bug : syd@jpicedt.org