Class JDialogFactory
- java.lang.Object
-
- de.alpharogroup.swing.dialog.factories.JDialogFactory
-
public class JDialogFactory extends java.lang.ObjectThe classJDialogFactoryprovides factory methods for create swingJDialogobjects
-
-
Constructor Summary
Constructors Constructor Description JDialogFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.JDialognewJDialog(@NonNull javax.swing.JOptionPane pane, java.lang.String title)Factory method for create aJDialogobject over the givenJOptionPanestatic javax.swing.JDialognewJDialog(java.awt.Component parentComponent, @NonNull javax.swing.JOptionPane pane, java.lang.String title)Factory method for create aJDialogobject over the givenJOptionPane.static javax.swing.JDialognewJDialog(java.awt.Component parentComponent, java.lang.String title, boolean modal, java.awt.GraphicsConfiguration gc)Factory method for create aJDialogobject.static javax.swing.JDialognewJDialog(java.awt.Component parentComponent, java.lang.String title, java.awt.Dialog.ModalityType modalityType, java.awt.GraphicsConfiguration gc)Factory method for create aJDialogobject.
-
-
-
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 aJDialogobject.- Parameters:
parentComponent- the parent componenttitle- the titlemodal- the modalgc- theGraphicsConfigurationof the target screen device; ifnull, the default systemGraphicsConfigurationis 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 aJDialogobject.- Parameters:
parentComponent- the parent componenttitle- the titlemodalityType- the modality typegc- theGraphicsConfigurationof the target screen device; ifnull, the default systemGraphicsConfigurationis 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 aJDialogobject over the givenJOptionPane- Parameters:
pane- the panetitle- 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 aJDialogobject over the givenJOptionPane.- Parameters:
parentComponent- the parent componentpane- the panetitle- the title- Returns:
- the new
JDialog
-
-