public class ConfigureAction extends FigureAction
EditParametersDialog
,
Serialized FormRed (johnr) |
Red (eal) |
FigureAction.SourceType
CANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE
Constructor and Description |
---|
ConfigureAction(java.lang.String description)
Construct a new configure action.
|
Modifier and Type | Method and Description |
---|---|
protected void |
_openDialog(java.awt.Frame parent,
NamedObj target,
java.awt.event.ActionEvent event)
Open an edit parameters dialog.
|
void |
actionPerformed(java.awt.event.ActionEvent e)
Open a dialog to edit the target.
|
void |
openDialog(java.awt.Frame parent,
NamedObj target)
Open an edit parameters dialog.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigure
public ConfigureAction(java.lang.String description)
description
- A description.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class FigureAction
e
- The event.public void openDialog(java.awt.Frame parent, NamedObj target)
parent
- A frame to serve as a parent for the dialog, or
null if there is none.target
- The object whose parameters are to be edited.protected void _openDialog(java.awt.Frame parent, NamedObj target, java.awt.event.ActionEvent event)
parent
- A frame to serve as a parent for the dialog, or
null if there is none.target
- The object whose parameters are to be edited.event
- The action event that triggered this, or null if
none.