Class Continuous2DProjectionDecorator
- java.lang.Object
-
- repast.simphony.visualization.decorator.AbstractProjectionDecorator<ContinuousSpace<?>>
-
- repast.simphony.visualization.continuous.Continuous2DProjectionDecorator
-
- All Implemented Interfaces:
ProjectionDecorator2D<ContinuousSpace<?>>
public class Continuous2DProjectionDecorator extends AbstractProjectionDecorator<ContinuousSpace<?>> implements ProjectionDecorator2D<ContinuousSpace<?>>
2D decorator for a continuous space. This will add a bounding box around the space.
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE
-
Fields inherited from class repast.simphony.visualization.decorator.AbstractProjectionDecorator
color, COLOR, projection, SHOW_DECORATOR, TYPE_KEY, UNIT_SIZE, unitSize
-
-
Constructor Summary
Constructors Constructor Description Continuous2DProjectionDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(DisplayOGL2D display, saf.v3d.scene.VComposite parent)
Initializes the decorator.void
update()
Updates the decorator.-
Methods inherited from class repast.simphony.visualization.decorator.AbstractProjectionDecorator
getColor, getProjection, getUnitSize, setColor, setProjection, setUnitSize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface repast.simphony.visualization.decorator.ProjectionDecorator2D
getProjection, setProjection
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(DisplayOGL2D display, saf.v3d.scene.VComposite parent)
Description copied from interface:ProjectionDecorator2D
Initializes the decorator. Implementors should add the decorating shapes to the parent node.- Specified by:
init
in interfaceProjectionDecorator2D<ContinuousSpace<?>>
parent
- the parent to which the decoration should be added
-
update
public void update()
Updates the decorator. The intention is that this would only do something if the decoration has changed from that created in init.- Specified by:
update
in interfaceProjectionDecorator2D<ContinuousSpace<?>>
-
-