Package repast.simphony.visualization
Class AbstractDisplayData<T>
- java.lang.Object
-
- repast.simphony.visualization.AbstractDisplayData<T>
-
- All Implemented Interfaces:
DisplayData<T>
- Direct Known Subclasses:
DefaultDisplayData
,SyntheticDisplayData
public abstract class AbstractDisplayData<T> extends Object implements DisplayData<T>
Abstract implementation of DisplayData.- Author:
- Nick Collier
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Projection>
projs
protected List<ValueLayer>
valueLayers
-
Constructor Summary
Constructors Constructor Description AbstractDisplayData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getProjectionCount()
Gets the number of projections to display.Iterable<Projection>
getProjections()
Gets an iterable over the projections to be displayed.int
getValueLayerCount()
Gets the number of ValueLayers to display.Iterable<ValueLayer>
getValueLayers()
Gets an iterable over the ValueLayers to be displayed.-
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.DisplayData
getContainer, objects
-
-
-
-
Field Detail
-
projs
protected List<Projection> projs
-
valueLayers
protected List<ValueLayer> valueLayers
-
-
Method Detail
-
getProjections
public Iterable<Projection> getProjections()
Gets an iterable over the projections to be displayed.- Specified by:
getProjections
in interfaceDisplayData<T>
- Returns:
- an iterable over the projections to be displayed.
-
getValueLayers
public Iterable<ValueLayer> getValueLayers()
Gets an iterable over the ValueLayers to be displayed.- Specified by:
getValueLayers
in interfaceDisplayData<T>
- Returns:
- an iterable over the ValueLayers to be displayed.
-
getProjectionCount
public int getProjectionCount()
Gets the number of projections to display.- Specified by:
getProjectionCount
in interfaceDisplayData<T>
- Returns:
- the number of projections to display.
-
getValueLayerCount
public int getValueLayerCount()
Gets the number of ValueLayers to display.- Specified by:
getValueLayerCount
in interfaceDisplayData<T>
- Returns:
- the number of ValueLayers to display.
-
-