public class RenameDialogAction extends FigureAction
| Red (johnr) |
| Red (eal) |
FigureAction.SourceTypeCANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE| Constructor and Description |
|---|
RenameDialogAction(java.lang.String name)
Construct a rename dialog action with the specified name,
which will appear in the menu that uses this action.
|
RenameDialogAction(TableauFrame parent)
Construct a rename dialog action with the specified parent, 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.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigurepublic RenameDialogAction(TableauFrame parent)
parent - The parent TableauFramepublic RenameDialogAction(java.lang.String name)
name - The name.public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class FigureActionevent - The action event.