public class PortDialogAction extends FigureAction
FigureAction.SourceType
CANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE
Constructor and Description |
---|
PortDialogAction(java.lang.String name)
Construct a rename dialog action with the specified name,
which will appear in the menu that uses this action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Open a dialog to rename the target.
|
void |
setConfiguration(Configuration configuration)
Set the configuration for use by the help screen.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigure
public PortDialogAction(java.lang.String name)
name
- The name.public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class FigureAction
event
- The action event.public void setConfiguration(Configuration configuration)
configuration
- The configuration.