Class JDialogFactory


  • public class JDialogFactory
    extends java.lang.Object
    The class JDialogFactory provides factory methods for create swing JDialog objects
    • Constructor Summary

      Constructors 
      Constructor Description
      JDialogFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.JDialog newJDialog​(@NonNull javax.swing.JOptionPane pane, java.lang.String title)
      Factory method for create a JDialog object over the given JOptionPane
      static javax.swing.JDialog newJDialog​(java.awt.Component parentComponent, @NonNull javax.swing.JOptionPane pane, java.lang.String title)
      Factory method for create a JDialog object over the given JOptionPane.
      static javax.swing.JDialog newJDialog​(java.awt.Component parentComponent, java.lang.String title, boolean modal, java.awt.GraphicsConfiguration gc)
      Factory method for create a JDialog object.
      static javax.swing.JDialog newJDialog​(java.awt.Component parentComponent, java.lang.String title, java.awt.Dialog.ModalityType modalityType, java.awt.GraphicsConfiguration gc)
      Factory method for create a JDialog object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JDialogFactory

        public JDialogFactory()
    • Method Detail

      • newJDialog

        public static javax.swing.JDialog newJDialog​(java.awt.Component parentComponent,
                                                     java.lang.String title,
                                                     boolean modal,
                                                     java.awt.GraphicsConfiguration gc)
        Factory method for create a JDialog object.
        Parameters:
        parentComponent - the parent component
        title - the title
        modal - the modal
        gc - the GraphicsConfiguration of the target screen device; if null, the default system GraphicsConfiguration is assumed
        Returns:
        the new JDialog
      • newJDialog

        public static javax.swing.JDialog newJDialog​(java.awt.Component parentComponent,
                                                     java.lang.String title,
                                                     java.awt.Dialog.ModalityType modalityType,
                                                     java.awt.GraphicsConfiguration gc)
        Factory method for create a JDialog object.
        Parameters:
        parentComponent - the parent component
        title - the title
        modalityType - the modality type
        gc - the GraphicsConfiguration of the target screen device; if null, the default system GraphicsConfiguration is assumed
        Returns:
        the new JDialog
      • newJDialog

        public static javax.swing.JDialog newJDialog​(@NonNull
                                                     @NonNull javax.swing.JOptionPane pane,
                                                     java.lang.String title)
        Factory method for create a JDialog object over the given JOptionPane
        Parameters:
        pane - the pane
        title - the title
        Returns:
        the new JDialog
      • newJDialog

        public static javax.swing.JDialog newJDialog​(java.awt.Component parentComponent,
                                                     @NonNull
                                                     @NonNull javax.swing.JOptionPane pane,
                                                     java.lang.String title)
        Factory method for create a JDialog object over the given JOptionPane.
        Parameters:
        parentComponent - the parent component
        pane - the pane
        title - the title
        Returns:
        the new JDialog