Class VLStyleRegistrar<T>
- java.lang.Object
-
- repast.simphony.visualization.engine.VLStyleRegistrar<T>
-
- Direct Known Subclasses:
VLStyleRegistrar2D
,VLStyleRegistrar3D
,VLStyleRegistrarOGL2D
public abstract class VLStyleRegistrar<T> extends Object
Registers value layer styles on a display.- Author:
- Nick Collier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VLStyleRegistrar.Registrar<T>
Inteface for a closure that registers the created style on the display.
-
Constructor Summary
Constructors Constructor Description VLStyleRegistrar()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract 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)
-
-
-
Method Detail
-
createEditedValueLayerStyle
public abstract T createEditedValueLayerStyle(String styleName)
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
-
-