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 inherited from class repast.simphony.visualization.decorator.AbstractProjectionDecorator
color, COLOR, projection, SHOW_DECORATOR, TYPE_KEY, UNIT_SIZE, unitSize
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
TYPE
- See Also:
-
-
Constructor Details
-
Continuous2DProjectionDecorator
public Continuous2DProjectionDecorator()
-
-
Method Details
-
init
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<?>>
-