Class VLStyleRegistrar<T>
java.lang.Object
repast.simphony.visualization.engine.VLStyleRegistrar<T>
- Direct Known Subclasses:
VLStyleRegistrar2D
,VLStyleRegistrar3D
,VLStyleRegistrarOGL2D
Registers value layer styles on a display.
- Author:
- Nick Collier
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Inteface for a closure that registers the created style on the display. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract T
createEditedValueLayerStyle
(String styleName) Creates an instance of the the appropriate edited value layer style.void
registerValueLayerStyle
(VLStyleRegistrar.Registrar<T> registrar, CartesianDisplayDescriptor descriptor, Context<?> context)
-
Constructor Details
-
VLStyleRegistrar
public VLStyleRegistrar()
-
-
Method Details
-
createEditedValueLayerStyle
Creates an instance of the the appropriate edited value layer style.- Parameters:
styleName
-- Returns:
- the created edited value layer style
-
registerValueLayerStyle
public void registerValueLayerStyle(VLStyleRegistrar.Registrar<T> registrar, CartesianDisplayDescriptor descriptor, Context<?> context) throws ClassNotFoundException, InstantiationException, IllegalAccessException
-