Class DialogFactory

java.lang.Object
jsimgraph.DialogFactory

public class DialogFactory extends Object

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 Details

    • DialogFactory

      public DialogFactory(Frame mainWindow)
      Creates a new DialogFactory
      Parameters:
      mainWindow - owner frame for created dialogs.
  • Method Details

    • getDialog

      public void getDialog(JComponent panel, String title)
      Returns modal dialog box showing given panel and with given title
      Parameters:
      panel - to be shown on the center area of this dialog
      title - 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 dialog
      title - title of this dialog