Package de.team33.sphinx.metis
Class JComboBoxes
java.lang.Object
de.team33.sphinx.metis.JComboBoxes
Utility class to handle
JComboBoxs.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classJComboBoxes.Builder<E,T extends JComboBox<E>> Builder implementation to build target instances ofJComboBox.static final classJComboBoxes.Charger<E,T extends JComboBox<E>> Charger implementation to charge target instances ofJComboBox.static interfaceJComboBoxes.Setup<E,T extends JComboBox<E>, S extends JComboBoxes.Setup<E, T, S>> Utility interface to set up a target instance ofJComboBox. -
Method Summary
Modifier and TypeMethodDescriptionstatic <E,T extends JComboBox<E>>
JComboBoxes.Builder<E,T> Returns a newJComboBoxes.Builderfor target instances as supplied by the givenSupplier.static <E> JComboBoxes.Builder<E,JComboBox<E>> builder(ComboBoxModel<E> model) Returns a newJComboBoxes.Builderfor target instances of typeJComboBox.static <E,T extends JComboBox<E>>
JComboBoxes.Charger<E,T> charger(T target) Returns a newJComboBoxes.Chargerfor a given target instance.static <E> JComboBoxes.Setup<E,JComboBox<E>, ?> Returns a newJComboBoxes.Setupfor a givenJComboBoxinstance.
-
Method Details
-
builder
Returns a newJComboBoxes.Builderfor target instances of typeJComboBox.- Type Parameters:
E- The element type.
-
builder
Returns a newJComboBoxes.Builderfor target instances as supplied by the givenSupplier.- Type Parameters:
E- The element type.T- The final type of the target instances, at leastJComboBox.
-
charger
Returns a newJComboBoxes.Chargerfor a given target instance.- Type Parameters:
E- The element type.T- The final type of the target instance, at leastJComboBox.
-
setup
Returns a newJComboBoxes.Setupfor a givenJComboBoxinstance.
-