org.apache.batik.util.gui
public static class CSSMediaPanel.Dialog extends JDialog implements ActionMap
Nested Class Summary | |
---|---|
protected class | CSSMediaPanel.Dialog.CancelButtonAction
The action associated with the 'Cancel' button |
protected class | CSSMediaPanel.Dialog.OKButtonAction
The action associated with the 'OK' button |
Field Summary | |
---|---|
static int | CANCEL_OPTION
The return value if 'Cancel' is chosen. |
protected Map | listeners
The map that contains the listeners |
static int | OK_OPTION
The return value if 'OK' is chosen. |
protected int | returnCode
The return code. |
Constructor Summary | |
---|---|
Dialog()
Constructs a new Dialog to edit/add/remove CSS media. | |
Dialog(Component parent, String title, List mediaList)
Constructs a new Dialog to edit/add/remove CSS media.
| |
Dialog(Component parent, String title, String media)
Constructs a new Dialog to edit/add/remove CSS media.
|
Method Summary | |
---|---|
protected JPanel | createButtonsPanel()
Creates the OK/Cancel buttons panel |
Action | getAction(String key)
Returns the action associated with the given string or null on error
|
int | getReturnCode()
Returns the code that describes how the dialog has been closed (OK or
CANCEL). |
Parameters: parent the parent of this dialog title the title of this dialog mediaList the media list
Parameters: parent the parent of this dialog title the title of this dialog media the media list
Parameters: key the key mapped with the action to get
Throws: MissingListenerException if the action is not found