Class DialogFactory
java.lang.Object
jsimgraph.DialogFactory
Title: Parameter selection Dialog Factory
Description: Creates a modal dialog box into main window that displays given panel. This class is used to enter input parameters of the model.
- Author:
- Bertoli Marco Date: 2-giu-2005 Time: 19.52.26
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetDialog(JComponent panel, String title) Returns modal dialog box showing given panel and with given titlevoidgetDialog(JComponent panel, String title, int width, int height, boolean saveSize, String defaultWidthProp, String defaultHeightProp) Returns modal dialog box showing given panel and with given title
-
Constructor Details
-
DialogFactory
Creates a new DialogFactory- Parameters:
mainWindow- owner frame for created dialogs.
-
-
Method Details
-
getDialog
Returns modal dialog box showing given panel and with given title- Parameters:
panel- to be shown on the center area of this dialogtitle- title of this dialog
-
getDialog
public void getDialog(JComponent panel, String title, int width, int height, boolean saveSize, String defaultWidthProp, String defaultHeightProp) Returns modal dialog box showing given panel and with given title- Parameters:
panel- to be shown on the center area of this dialogtitle- title of this dialog
-