org.apache.batik.apps.svgbrowser
public static class NodePickerPanel.NameEditorDialog extends JDialog implements ActionMap
| Nested Class Summary | |
|---|---|
| protected class | NodePickerPanel.NameEditorDialog.CancelButtonAction
The action associated with the 'Cancel' button of Attribute Adder
Dialog |
| protected class | NodePickerPanel.NameEditorDialog.OKButtonAction
The action associated with the 'OK' button of Attribute Adder Dialog |
| Field Summary | |
|---|---|
| protected static ResourceBundle | bundle
The resource bundle. |
| protected ButtonFactory | buttonFactory
The Button factory. |
| protected JButton | cancelButton
The Cancel button. |
| static int | CANCEL_OPTION
The return value if 'Cancel' is chosen. |
| protected Map | listeners
The map that contains the listeners |
| protected JPanel | mainPanel
The Dialog main panel. |
| protected JTextField | nodeNameField
The node name field. |
| protected JLabel | nodeNameLabel
The node name label. |
| protected JButton | okButton
The OK button. |
| static int | OK_OPTION
The return value if 'OK' is chosen. |
| protected static ResourceManager | resources
The resource manager. |
| protected int | returnCode
The Dialog results. |
| protected static String | RESOURCES
The resource file name. |
| Constructor Summary | |
|---|---|
| NameEditorDialog(Frame frame)
Constructor.
| |
| Method Summary | |
|---|---|
| protected void | addButtonActions()
Adds button actions. |
| Action | getAction(String key)
Returns the action associated with the given string or null on error
|
| protected ButtonFactory | getButtonFactory()
Gets buttonFactory. |
| protected JButton | getCancelButton()
Gets the Cancel button.
|
| protected JPanel | getMainPanel()
Gets dialog's main panel.
|
| protected JTextField | getNodeNameField()
Gets the text field for node name.
|
| JLabel | getNodeNameLabel()
Gets the node name label.
|
| protected JButton | getOkButton()
Gets the Ok button.
|
| String | getResults()
Gets the dialog results.
|
| protected void | initialize()
Initializes the dialog. |
| int | showDialog()
Shows the dialog.
|
Parameters: frame Parent frame
Parameters: key the key mapped with the action to get
Throws: MissingListenerException if the action is not found
Returns: the cancelButton
Returns: the mainPanel
Returns: the nodeNameField
Returns: the nodeNameLabel
Returns: the okButton
Returns: the element name
Returns: OK_OPTION or CANCEL_OPTION.