Class AbstractProjectionDescriptor
java.lang.Object
repast.simphony.visualization.engine.AbstractProjectionDescriptor
- All Implemented Interfaces:
ProjectionDescriptor
- Direct Known Subclasses:
ContinuousProjectionDescriptor,DefaultProjectionDescriptor,GisProjectionDescriptor,GridProjectionDescriptor
Abstract base class for implementors of ProjectionDescriptor
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets an Iterable over the 2d projection decorators for the projection.Gets an Iterable over the 3d projection decorators for the projection.Gets the name of the projection.getProperty(String groupID, String key) Gets the named property in the specified property group.voidregisterProjectionData(ProjectionData data, DisplayDescriptor descriptor) Register ProjectionData with the DisplayDescriptor.voidsetProperty(String groupID, String key, Object value) Sets the named property in the specified property group.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface repast.simphony.visualization.engine.ProjectionDescriptor
getImpliedLayout2D, getImpliedLayout3D
-
Field Details
-
props
-
-
Constructor Details
-
AbstractProjectionDescriptor
-
-
Method Details
-
registerProjectionData
Description copied from interface:ProjectionDescriptorRegister ProjectionData with the DisplayDescriptor. This is implemented here since different ProjectionDescriptor implementations might handle psuedo-projections like value layers differently from actual Projection implementations.- Specified by:
registerProjectionDatain interfaceProjectionDescriptor- Parameters:
data- the ProjectionData to register with the DisplayDescriptordescriptor- the DisplayDescriptor
-
getProjectionName
Gets the name of the projection.- Specified by:
getProjectionNamein interfaceProjectionDescriptor- Returns:
- the name of the projection.
-
getProperty
Gets the named property in the specified property group. For example, each kind of decorator would have its own properties and these would be grouped into a property group.- Specified by:
getPropertyin interfaceProjectionDescriptor- Parameters:
groupID-key-- Returns:
- the named property in the specified property group or null if no such property is found.
-
setProperty
Sets the named property in the specified property group. For example, each kind of decorator would have its own properties and these would be grouped into a property group.- Specified by:
setPropertyin interfaceProjectionDescriptor- Parameters:
groupID-key-value-
-
get2DDecorators
Gets an Iterable over the 2d projection decorators for the projection.- Specified by:
get2DDecoratorsin interfaceProjectionDescriptor- Returns:
- an Iterable over the 2d projection decorators for the projection.
-
get3DDecorators
Gets an Iterable over the 3d projection decorators for the projection.- Specified by:
get3DDecoratorsin interfaceProjectionDescriptor- Returns:
- an Iterable over the 3d projection decorators for the projection.
-