Package de.team33.sphinx.metis
Class JFileChoosers
java.lang.Object
de.team33.sphinx.metis.JFileChoosers
Utility class to handle
JFileChoosers.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classJFileChoosers.Builder<T extends JFileChooser>Builder implementation to build target instances ofJFileChooser.static final classJFileChoosers.Charger<T extends JFileChooser>Charger implementation to charge target instances ofJFileChooser.static interfaceJFileChoosers.Setup<T extends JFileChooser,S extends JFileChoosers.Setup<T, S>> Utility interface to set up a target instance ofJFileChooser. -
Method Summary
Modifier and TypeMethodDescriptionstatic JFileChoosers.Builder<JFileChooser>builder()Returns a newJFileChoosers.Builderfor target instances of typeJFileChooser.static <T extends JFileChooser>
JFileChoosers.Builder<T>Returns a newJFileChoosers.Builderfor target instances as supplied by the givenSupplier.static <T extends JFileChooser>
JFileChoosers.Charger<T>charger(T target) Returns a newJFileChoosers.Chargerfor a given target instance.static JFileChoosers.Setup<JFileChooser,?> setup(JFileChooser target) Returns a newJFileChoosers.Setupfor a givenJFileChooserinstance.
-
Method Details
-
builder
Returns a newJFileChoosers.Builderfor target instances of typeJFileChooser. -
builder
Returns a newJFileChoosers.Builderfor target instances as supplied by the givenSupplier.- Type Parameters:
T- The final type of the target instances, at leastJFileChooser.
-
charger
Returns a newJFileChoosers.Chargerfor a given target instance.- Type Parameters:
T- The final type of the target instance, at leastJFileChooser.
-
setup
Returns a newJFileChoosers.Setupfor a givenJFileChooserinstance.
-