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