|
Gridarta Editor
|
Displays a dialog asking for parameters for the "mass change" function. More...
Collaboration diagram for net.sf.gridarta.mainactions.MassChangeDialog:Public Member Functions | |
| String [] | getArchNames () |
| Returns the arch names to affect. More... | |
| String | getChanges () |
| Returns the actual changes to apply. More... | |
| Integer [] | getLayers () |
| Returns the layers to affect. More... | |
| String [] | getNames () |
| Returns the object names to affect. More... | |
| Integer [] | getSubLayers () |
| Returns the sub-layers to affect. More... | |
| void | massChangeCancel () |
| Action method to close the dialog with "Cancel". More... | |
| MassChangeDialog () | |
| Creates a new instance. More... | |
| void | massChangeOkay () |
| Action method to close the dialog with "OK". More... | |
| boolean | showMassChangeDialog (@NotNull final Component parent) |
| Displays the mass change dialog. More... | |
Private Member Functions | |
| boolean | isOkButtonEnabled () |
| Returns whether the "OK" button is enabled. More... | |
| void | updateOkButton () |
| Updates the enabled state of the "OK" button depending on the dialog's contents. More... | |
Private Attributes | |
| final JTextComponent | archNamesTextField = new JTextField(50) |
| The text field for specifying the arch names to match. More... | |
| final JButton | cancelButton = new JButton(ACTION_BUILDER.createAction(false, "massChangeCancel", this)) |
| The "Cancel" button. More... | |
| final JTextArea | changesTextArea = new JTextArea() |
| The text area for specifying the changes to add. More... | |
| JDialog | dialog |
| The javax.swing.JDialog instance or. More... | |
| final JTextComponent | layersTextField = new JTextField(50) |
| The text field for specifying the layers to match. More... | |
| final JTextComponent | namesTextField = new JTextField(50) |
| The text field for specifying the object names to match. More... | |
| final JButton | okButton = new JButton(ACTION_BUILDER.createAction(false, "massChangeOkay", this)) |
| The "OK" button. More... | |
| final JOptionPane | optionPane = new JOptionPane() |
| The javax.swing.JOptionPane instance used to create dialogs. More... | |
| final JTextComponent | subLayersTextField = new JTextField(50) |
| The text field for specifying the sub-layers to match. More... | |
| final WindowListener | windowListener |
| The java.awt.event.WindowListener attached to dialog to call javax.swing.JOptionPane#selectInitialValue() after the dialog has been shown. More... | |
Static Private Attributes | |
| static final ActionBuilder | ACTION_BUILDER = ActionBuilderFactory.getInstance().getActionBuilder("net.sf.gridarta") |
| Action Builder to create Actions. More... | |
Displays a dialog asking for parameters for the "mass change" function.
Definition at line 55 of file MassChangeDialog.java.
| net.sf.gridarta.mainactions.MassChangeDialog.MassChangeDialog | ( | ) |
Creates a new instance.
Definition at line 121 of file MassChangeDialog.java.
References net.sf.gridarta.gui.utils.GUIConstants.DIALOG_BORDER, net.sf.gridarta.utils.ActionBuilderUtils.newLabel(), net.sf.gridarta.mainactions.MassChangeDialog.okButton, net.sf.gridarta.gui.utils.TextComponentUtils.setAutoSelectOnFocus(), and net.sf.gridarta.mainactions.MassChangeDialog.updateOkButton().
Here is the call graph for this function:| String [] net.sf.gridarta.mainactions.MassChangeDialog.getArchNames | ( | ) |
Returns the arch names to affect.
Definition at line 287 of file MassChangeDialog.java.
Here is the caller graph for this function:| String net.sf.gridarta.mainactions.MassChangeDialog.getChanges | ( | ) |
Returns the actual changes to apply.
Definition at line 351 of file MassChangeDialog.java.
Here is the caller graph for this function:| Integer [] net.sf.gridarta.mainactions.MassChangeDialog.getLayers | ( | ) |
Returns the layers to affect.
Definition at line 319 of file MassChangeDialog.java.
References net.sf.gridarta.utils.NumberUtils.parseInt().
Here is the call graph for this function:
Here is the caller graph for this function:| String [] net.sf.gridarta.mainactions.MassChangeDialog.getNames | ( | ) |
Returns the object names to affect.
Definition at line 303 of file MassChangeDialog.java.
Here is the caller graph for this function:| Integer [] net.sf.gridarta.mainactions.MassChangeDialog.getSubLayers | ( | ) |
Returns the sub-layers to affect.
Definition at line 335 of file MassChangeDialog.java.
References net.sf.gridarta.utils.NumberUtils.parseInt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Returns whether the "OK" button is enabled.
Definition at line 278 of file MassChangeDialog.java.
Referenced by net.sf.gridarta.mainactions.MassChangeDialog.massChangeOkay(), net.sf.gridarta.mainactions.MassChangeDialog.showMassChangeDialog(), and net.sf.gridarta.mainactions.MassChangeDialog.updateOkButton().
Here is the caller graph for this function:| void net.sf.gridarta.mainactions.MassChangeDialog.massChangeCancel | ( | ) |
Action method to close the dialog with "Cancel".
Definition at line 270 of file MassChangeDialog.java.
| void net.sf.gridarta.mainactions.MassChangeDialog.massChangeOkay | ( | ) |
Action method to close the dialog with "OK".
Definition at line 260 of file MassChangeDialog.java.
References net.sf.gridarta.mainactions.MassChangeDialog.isOkButtonEnabled().
Here is the call graph for this function:| boolean net.sf.gridarta.mainactions.MassChangeDialog.showMassChangeDialog | ( | @NotNull final Component | parent | ) |
Displays the mass change dialog.
| parent | the parent component for the dialog |
Definition at line 236 of file MassChangeDialog.java.
References net.sf.gridarta.mainactions.MassChangeDialog.dialog, net.sf.gridarta.utils.ActionBuilderUtils.getString(), net.sf.gridarta.mainactions.MassChangeDialog.isOkButtonEnabled(), and net.sf.gridarta.mainactions.MassChangeDialog.okButton.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Updates the enabled state of the "OK" button depending on the dialog's contents.
Definition at line 227 of file MassChangeDialog.java.
References net.sf.gridarta.mainactions.MassChangeDialog.isOkButtonEnabled().
Referenced by net.sf.gridarta.mainactions.MassChangeDialog.MassChangeDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Action Builder to create Actions.
Definition at line 61 of file MassChangeDialog.java.
|
private |
The text field for specifying the arch names to match.
Definition at line 85 of file MassChangeDialog.java.
|
private |
The "Cancel" button.
Definition at line 79 of file MassChangeDialog.java.
|
private |
The text area for specifying the changes to add.
Definition at line 116 of file MassChangeDialog.java.
|
private |
The javax.swing.JDialog instance or.
if not yet created.
Definition at line 110 of file MassChangeDialog.java.
Referenced by net.sf.gridarta.mainactions.MassChangeDialog.showMassChangeDialog().
|
private |
The text field for specifying the layers to match.
Definition at line 97 of file MassChangeDialog.java.
|
private |
The text field for specifying the object names to match.
Definition at line 91 of file MassChangeDialog.java.
|
private |
The "OK" button.
Definition at line 73 of file MassChangeDialog.java.
Referenced by net.sf.gridarta.mainactions.MassChangeDialog.MassChangeDialog(), and net.sf.gridarta.mainactions.MassChangeDialog.showMassChangeDialog().
|
private |
The javax.swing.JOptionPane instance used to create dialogs.
Definition at line 67 of file MassChangeDialog.java.
|
private |
The text field for specifying the sub-layers to match.
Definition at line 103 of file MassChangeDialog.java.
|
private |
The java.awt.event.WindowListener attached to dialog to call javax.swing.JOptionPane#selectInitialValue() after the dialog has been shown.
Definition at line 182 of file MassChangeDialog.java.