Package repast.simphony.visualization
Interface DisplayData<T>
- All Known Implementing Classes:
AbstractDisplayData
,DefaultDisplayData
,GISDisplayData
,SyntheticDisplayData
public interface DisplayData<T>
Interface for those classes that encapsulate the data needed to set up
a particular display. This includes access to any existing agents to be added to
the display as well access to the projections and ValueLayer-s to be displayed.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Method Summary
Modifier and TypeMethodDescriptionGets the container that contains the objects we want to display.int
Gets the number of projections to display.Gets an iterable over the projections to be displayed.int
Gets the number of ValueLayers to display.Gets an iterable over the ValueLayers to be displayed.objects()
Gets the objects to be initially displayed.
-
Method Details
-
getContainer
VisualizedObjectContainer<T> getContainer()Gets the container that contains the objects we want to display.- Returns:
- the container that contains the objects we want to display.
-
objects
Gets the objects to be initially displayed.- Returns:
- an iterable over the objects to be initially displayed.
-
getProjections
Iterable<Projection> getProjections()Gets an iterable over the projections to be displayed.- Returns:
- an iterable over the projections to be displayed.
-
getProjectionCount
int getProjectionCount()Gets the number of projections to display.- Returns:
- the number of projections to display.
-
getValueLayers
Iterable<ValueLayer> getValueLayers()Gets an iterable over the ValueLayers to be displayed.- Returns:
- an iterable over the ValueLayers to be displayed.
-
getValueLayerCount
int getValueLayerCount()Gets the number of ValueLayers to display.- Returns:
- the number of ValueLayers to display.
-