Class CartesianDisplayDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.visualization.engine.BasicDisplayDescriptor
repast.simphony.visualization.engine.CartesianDisplayDescriptor
- All Implemented Interfaces:
Descriptor,DisplayDescriptor,ValueLayerDescriptor
public class CartesianDisplayDescriptor
extends BasicDisplayDescriptor
implements ValueLayerDescriptor
Display descriptor for Cartesian (2D,3D) displays with value layers.
TODO Projections: also implement network descriptor?
- Author:
- Nick Collier, Eric Tatara
-
Field Summary
FieldsFields inherited from class repast.simphony.scenario.AbstractDescriptor
scs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValueLayerName(String name) Adds the named value layer to the list of value layers to display.voidintGets the number of Value Layers in this display descriptor.Gets the name of the value layer edited style.Gets a List of all the names of the value layers to display.Gets the name of the value layer style.makeCopy()Returns a deep copy of the descriptor.voidset(DisplayDescriptor descriptor) Sets the fields of this descriptor from another when making copies.voidSets the value layer edited style name.voidsetValueLayerStyleName(String name) Sets the value layer style name.Methods inherited from class repast.simphony.visualization.engine.BasicDisplayDescriptor
addEditedStyle, addLayerOrder, addNetworkEditedStyle, addNetworkStyle, addProjection, addStyle, agentClassEditedStyleNames, agentClassLayerOrders, agentClassStyleNames, clearProjectionDescriptors, clearProjections, getBackgroundColor, getBoundingBox, getDefaultNetStyles, getDefaultStyles, getDisplayType, getEditedStyleName, getEditedStyles, getLayerOrder, getLayerOrders, getLayoutClassName, getLayoutFrqeuency, getLayoutInterval, getLayoutProjection, getLayoutProperties, getNetworkEditedStyleName, getNetworkStyleClassName, getProjectionCount, getProjectionDescriptor, getProjectionDescriptors, getProjections, getProperty, getScheduleParameters, getStyleClassName, getStyles, networkEditedStyleIDs, networkStyleIDs, propertyNames, setBackgroundColor, setBoundingBox, setDisplayType, setLayoutClassName, setLayoutFrequency, setLayoutInterval, setLayoutProjection, setLayoutProperties, setProperty, setScheduleParametersMethods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface repast.simphony.engine.schedule.Descriptor
getName, setNameMethods inherited from interface repast.simphony.visualization.engine.DisplayDescriptor
addScenarioChangedListener
-
Field Details
-
valueLayers
-
-
Constructor Details
-
CartesianDisplayDescriptor
-
CartesianDisplayDescriptor
-
-
Method Details
-
clearValueLayerNames
public void clearValueLayerNames()- Specified by:
clearValueLayerNamesin interfaceValueLayerDescriptor
-
getValueLayerCount
public int getValueLayerCount()Description copied from interface:ValueLayerDescriptorGets the number of Value Layers in this display descriptor.- Specified by:
getValueLayerCountin interfaceValueLayerDescriptor- Returns:
-
set
Description copied from class:BasicDisplayDescriptorSets the fields of this descriptor from another when making copies.- Specified by:
setin interfaceDisplayDescriptor- Overrides:
setin classBasicDisplayDescriptor
-
addValueLayerName
Adds the named value layer to the list of value layers to display.- Specified by:
addValueLayerNamein interfaceValueLayerDescriptor- Parameters:
name- the name of the value layer to display.
-
getValueLayerNames
Gets a List of all the names of the value layers to display.- Specified by:
getValueLayerNamesin interfaceValueLayerDescriptor- Returns:
- a List of all the names of the value layers to display.
-
setValueLayerStyleName
Sets the value layer style name.- Specified by:
setValueLayerStyleNamein interfaceValueLayerDescriptor- Parameters:
name-
-
getValueLayerStyleName
Gets the name of the value layer style. Will return null if no value layer style has been selected.- Specified by:
getValueLayerStyleNamein interfaceValueLayerDescriptor- Returns:
- the name of the value layer style.
-
getValueLayerEditedStyleName
Gets the name of the value layer edited style. Will return null if no value layer style has been selected.- Specified by:
getValueLayerEditedStyleNamein interfaceValueLayerDescriptor- Returns:
- the name of the value layer edited style.
-
setValueLayerEditedStyleName
Sets the value layer edited style name.- Specified by:
setValueLayerEditedStyleNamein interfaceValueLayerDescriptor- Parameters:
name-
-
makeCopy
Description copied from interface:DisplayDescriptorReturns a deep copy of the descriptor.- Specified by:
makeCopyin interfaceDisplayDescriptor- Returns:
-