public class ConfigureUnitsAction extends FigureAction
| Red (johnr) |
| Red (eal) |
FigureAction.SourceTypeCANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE| Constructor and Description |
|---|
ConfigureUnitsAction(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, offsetFigurepublic ConfigureUnitsAction(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.public void setConfiguration(Configuration configuration)
configuration - The configuration.