org.jfree.ui
Class StandardDialog
JDialog
org.jfree.ui.StandardDialog
- ActionListener
extends JDialog
implements ActionListener
The base class for standard dialogs.
StandardDialog(Dialog owner, String title, boolean modal) - Standard constructor - builds a dialog...
|
StandardDialog(Frame owner, String title, boolean modal) - Standard constructor - builds a dialog...
|
void | actionPerformed(ActionEvent event) - Handles clicks on the standard buttons.
|
protected JPanel | createButtonPanel() - Builds and returns the user interface for the dialog.
|
boolean | isCancelled() - Returns a flag that indicates whether or not the dialog has been cancelled.
|
localizationResources
protected static final ResourceBundle localizationResources
The resourceBundle for the localization.
StandardDialog
public StandardDialog(Dialog owner,
String title,
boolean modal)
Standard constructor - builds a dialog...
owner
- the owner.title
- the title.modal
- modal?
StandardDialog
public StandardDialog(Frame owner,
String title,
boolean modal)
Standard constructor - builds a dialog...
owner
- the owner.title
- the title.modal
- modal?
actionPerformed
public void actionPerformed(ActionEvent event)
Handles clicks on the standard buttons.
createButtonPanel
protected JPanel createButtonPanel()
Builds and returns the user interface for the dialog. This method is shared among the
constructors.
isCancelled
public boolean isCancelled()
Returns a flag that indicates whether or not the dialog has been cancelled.