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