Package de.team33.sphinx.metis
Class JOptionPanes
java.lang.Object
de.team33.sphinx.metis.JOptionPanes
Utility class to handle
JOptionPanes.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classJOptionPanes.Builder<T extends JOptionPane>Builder implementation to build target instances ofJOptionPane.static final classJOptionPanes.Charger<T extends JOptionPane>Charger implementation to charge target instances ofJOptionPane.static interfaceJOptionPanes.Setup<T extends JOptionPane,S extends JOptionPanes.Setup<T, S>> Utility interface to set up a target instance ofJOptionPane. -
Method Summary
Modifier and TypeMethodDescriptionstatic JOptionPanes.Builder<JOptionPane>builder()Returns a newJOptionPanes.Builderfor target instances of typeJOptionPane.static <T extends JOptionPane>
JOptionPanes.Builder<T>Returns a newJOptionPanes.Builderfor target instances as supplied by the givenSupplier.static <T extends JOptionPane>
JOptionPanes.Charger<T>charger(T target) Returns a newJOptionPanes.Chargerfor a given target instance.static JOptionPanes.Setup<JOptionPane,?> setup(JOptionPane target) Returns a newJOptionPanes.Setupfor a givenJOptionPaneinstance.
-
Method Details
-
builder
Returns a newJOptionPanes.Builderfor target instances of typeJOptionPane. -
builder
Returns a newJOptionPanes.Builderfor target instances as supplied by the givenSupplier.- Type Parameters:
T- The final type of the target instances, at leastJOptionPane.
-
charger
Returns a newJOptionPanes.Chargerfor a given target instance.- Type Parameters:
T- The final type of the target instance, at leastJOptionPane.
-
setup
Returns a newJOptionPanes.Setupfor a givenJOptionPaneinstance.
-