Class StyledDisplayLayerOGL2D
- java.lang.Object
-
- repast.simphony.visualizationOGL2D.AbstractDisplayLayerOGL2D<StyleOGL2D>
-
- repast.simphony.visualizationOGL2D.StyledDisplayLayerOGL2D
-
- All Implemented Interfaces:
IDisplayLayer<saf.v3d.scene.VSpatial>
public class StyledDisplayLayerOGL2D extends AbstractDisplayLayerOGL2D<StyleOGL2D>
OGL2D display layer that compbines a style with VSpatial objects.- Author:
- Nick Collier
-
-
Field Summary
-
Fields inherited from class repast.simphony.visualizationOGL2D.AbstractDisplayLayerOGL2D
LABEL_KEY, labelLayers, layer, MODEL_OBJECT_KEY, objMap, style, toBeAdded, toBeRemoved
-
-
Constructor Summary
Constructors Constructor Description StyledDisplayLayerOGL2D(StyleOGL2D<?> style, saf.v3d.scene.VLayer layer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
update(LayoutUpdater updater)
Updates the displayed nodes by applying styles etc.-
Methods inherited from class repast.simphony.visualizationOGL2D.AbstractDisplayLayerOGL2D
addObject, applyUpdates, getStyle, getVisualItem, removeObject, setStyle
-
-
-
-
Constructor Detail
-
StyledDisplayLayerOGL2D
public StyledDisplayLayerOGL2D(StyleOGL2D<?> style, saf.v3d.scene.VLayer layer)
-
-
Method Detail
-
update
public void update(LayoutUpdater updater)
Updates the displayed nodes by applying styles etc. The display is not updated to reflect these changes.- Specified by:
update
in interfaceIDisplayLayer<saf.v3d.scene.VSpatial>
- Specified by:
update
in classAbstractDisplayLayerOGL2D<StyleOGL2D>
- Parameters:
updater
- used to update the layout and position information
-
-