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