Class DefaultDisplayDescriptor
java.lang.Object
repast.simphony.scenario.AbstractDescriptor
repast.simphony.visualization.engine.DefaultDisplayDescriptor
- All Implemented Interfaces:
Descriptor
,DisplayDescriptor
@Deprecated
public class DefaultDisplayDescriptor
extends AbstractDescriptor
implements DisplayDescriptor
Deprecated.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.scenario.AbstractDescriptor
scs
-
Constructor Summary
ConstructorDescriptionDeprecated.DefaultDisplayDescriptor
(DisplayDescriptor descriptor) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addEditedStyle
(String objClassName, String userStyleName) Deprecated.void
addLayerOrder
(String objClassName, int order) Deprecated.void
addNetworkEditedStyle
(Object networkID, String networkClassName) Deprecated.void
addNetworkStyle
(Object networkID, String networkClassName) Deprecated.void
addProjection
(ProjectionData data, ProjectionDescriptor descriptor) Deprecated.Adds the data for a projection for which this is the display info.void
Deprecated.void
addValueLayerName
(String name) Deprecated.Adds the named value layer to the list of value layers to display.Deprecated.Deprecated.Deprecated.void
Deprecated.Removes any added projection descriptors.void
Deprecated.void
Deprecated.Deprecated.Gets the background color of the display.Deprecated.Gets the Bounding Box for the display.Class<?>[]
Deprecated.Class<?>[]
Deprecated.Class<?>[]
Deprecated.Class<?>[]
Deprecated.Class<?>[]
Deprecated.Class<?>[]
Deprecated.Class<?>[]
Deprecated.Deprecated.getEditedStyleName
(String objClassName) Deprecated.Deprecated.getLayerOrder
(String objClassName) Deprecated.Deprecated.Deprecated.Deprecated.int
Deprecated.Deprecated.Gets the name of the projection associated with the layout.Deprecated.getNetworkEditedStyleName
(Object networkID) Deprecated.getNetworkStyleClassName
(Object networkID) Deprecated.int
Deprecated.Gets the number of projections in this display descriptor.Deprecated.Gets the ProjectionDescriptor for the named projection.Deprecated.Deprecated.Gets the data for all the projections for which this is the display info.getProperty
(String name) Deprecated.Gets the named property.Deprecated.Retrieves the parameters for when to activate the display update.getStyleClassName
(String objClassName) Deprecated.Deprecated.int
Deprecated.Deprecated.Gets the name of the value layer edited style.Deprecated.Gets a List of all the names of the value layers to display.Deprecated.Gets the name of the value layer style.makeCopy()
Deprecated.Returns a deep copy of the descriptor.Deprecated.Deprecated.Deprecated.Gets an iterable of names of the properties contained by this descriptor.void
set
(DisplayDescriptor descriptor) Deprecated.void
setBackgroundColor
(Color color) Deprecated.Sets the background color of the display.void
setBoundingBox
(BoundingBox boundingBox) Deprecated.Sets the BoundingBox for the display.void
setDisplayType
(String type) Deprecated.void
setDisplayType
(String type, boolean reset) Deprecated.Sets the display type of this descriptor.void
setLayoutClassName
(String className) Deprecated.void
setLayoutFrequency
(IDisplay.LayoutFrequency frequency) Deprecated.void
setLayoutInterval
(int interval) Deprecated.void
setLayoutProjection
(String layoutProjection) Deprecated.Sets the name of the projection to associate with the layout.void
Deprecated.Sets the layout properties for this display.void
setProperty
(String name, Object value) Deprecated.Sets the specified property.void
setScheduleParameters
(ScheduleParameters scheduleInfo) Deprecated.Sets the parameters for when to activate the display update.void
Deprecated.Sets the value layer edited style name.void
setValueLayerStyleName
(String name) Deprecated.Sets the value layer style name.Methods inherited from class repast.simphony.scenario.AbstractDescriptor
addScenarioChangedListener, getName, readResolve, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface repast.simphony.engine.schedule.Descriptor
getName, setName
Methods inherited from interface repast.simphony.visualization.engine.DisplayDescriptor
addScenarioChangedListener
-
Constructor Details
-
DefaultDisplayDescriptor
Deprecated. -
DefaultDisplayDescriptor
Deprecated.
-
-
Method Details
-
getProjections
Deprecated.Gets the data for all the projections for which this is the display info.- Specified by:
getProjections
in interfaceDisplayDescriptor
- Returns:
- the data for all the projections for which this is the display info.
-
getProjectionCount
public int getProjectionCount()Deprecated.Description copied from interface:DisplayDescriptor
Gets the number of projections in this display descriptor.- Specified by:
getProjectionCount
in interfaceDisplayDescriptor
- Returns:
- the number of projections in this display descriptor.
-
addProjection
Deprecated.Adds the data for a projection for which this is the display info.- Specified by:
addProjection
in interfaceDisplayDescriptor
- Parameters:
data
-descriptor
-
-
clearProjections
public void clearProjections()Deprecated.- Specified by:
clearProjections
in interfaceDisplayDescriptor
-
clearValueLayerNames
public void clearValueLayerNames()Deprecated. -
getValueLayerCount
public int getValueLayerCount()Deprecated. -
getProjectionDescriptor
Deprecated.Gets the ProjectionDescriptor for the named projection.- Specified by:
getProjectionDescriptor
in interfaceDisplayDescriptor
- Parameters:
name
- the name of the projection whose descriptor we want- Returns:
- the ProjectionDescriptor for the named projection.
-
clearProjectionDescriptors
public void clearProjectionDescriptors()Deprecated.Removes any added projection descriptors.- Specified by:
clearProjectionDescriptors
in interfaceDisplayDescriptor
-
getProjectionDescriptors
Deprecated.- Specified by:
getProjectionDescriptors
in interfaceDisplayDescriptor
-
set
Deprecated.- Specified by:
set
in interfaceDisplayDescriptor
-
getDisplayType
Deprecated.- Specified by:
getDisplayType
in interfaceDisplayDescriptor
-
setDisplayType
Deprecated. -
setDisplayType
Deprecated.Description copied from interface:DisplayDescriptor
Sets the display type of this descriptor. If reset is true, then the fields in the descriptor that depend on type info will be reset.- Specified by:
setDisplayType
in interfaceDisplayDescriptor
- Parameters:
type
- the display typereset
- if true, then the fields in the descriptor that depend on type info will be reset.
-
addStyle
Deprecated.- Specified by:
addStyle
in interfaceDisplayDescriptor
-
addEditedStyle
Deprecated.- Specified by:
addEditedStyle
in interfaceDisplayDescriptor
-
addNetworkStyle
Deprecated.- Specified by:
addNetworkStyle
in interfaceDisplayDescriptor
-
addNetworkEditedStyle
Deprecated.- Specified by:
addNetworkEditedStyle
in interfaceDisplayDescriptor
-
getStyleClassName
Deprecated.- Specified by:
getStyleClassName
in interfaceDisplayDescriptor
-
getEditedStyleName
Deprecated.- Specified by:
getEditedStyleName
in interfaceDisplayDescriptor
-
getNetworkStyleClassName
Deprecated.- Specified by:
getNetworkStyleClassName
in interfaceDisplayDescriptor
-
getNetworkEditedStyleName
Deprecated.- Specified by:
getNetworkEditedStyleName
in interfaceDisplayDescriptor
-
agentClassStyleNames
Deprecated.- Specified by:
agentClassStyleNames
in interfaceDisplayDescriptor
-
agentClassEditedStyleNames
Deprecated.- Specified by:
agentClassEditedStyleNames
in interfaceDisplayDescriptor
-
networkStyleIDs
Deprecated.- Specified by:
networkStyleIDs
in interfaceDisplayDescriptor
-
networkEditedStyleIDs
Deprecated.- Specified by:
networkEditedStyleIDs
in interfaceDisplayDescriptor
-
getLayoutFrqeuency
Deprecated.- Specified by:
getLayoutFrqeuency
in interfaceDisplayDescriptor
-
setLayoutFrequency
Deprecated.- Specified by:
setLayoutFrequency
in interfaceDisplayDescriptor
-
getScheduleParameters
Deprecated.Description copied from interface:DisplayDescriptor
Retrieves the parameters for when to activate the display update.- Specified by:
getScheduleParameters
in interfaceDisplayDescriptor
- Returns:
- the parameters for when to activate the display update.
-
setScheduleParameters
Deprecated.Description copied from interface:DisplayDescriptor
Sets the parameters for when to activate the display update.- Specified by:
setScheduleParameters
in interfaceDisplayDescriptor
- Parameters:
scheduleInfo
- when to activate the display update
-
getLayoutClassName
Deprecated.- Specified by:
getLayoutClassName
in interfaceDisplayDescriptor
-
setLayoutClassName
Deprecated.- Specified by:
setLayoutClassName
in interfaceDisplayDescriptor
-
getLayoutProjection
Deprecated.Description copied from interface:DisplayDescriptor
Gets the name of the projection associated with the layout.- Specified by:
getLayoutProjection
in interfaceDisplayDescriptor
- Returns:
- the name of the projection associated with the layout.
-
setLayoutProjection
Deprecated.Description copied from interface:DisplayDescriptor
Sets the name of the projection to associate with the layout.- Specified by:
setLayoutProjection
in interfaceDisplayDescriptor
-
setLayoutInterval
public void setLayoutInterval(int interval) Deprecated.- Specified by:
setLayoutInterval
in interfaceDisplayDescriptor
-
getLayoutInterval
public int getLayoutInterval()Deprecated.- Specified by:
getLayoutInterval
in interfaceDisplayDescriptor
-
getDefaultStyles3D
Deprecated. -
getDefaultStyles2D
Deprecated. -
getDefaultStylesGIS3D
Deprecated. -
getDefaultNetStyles3D
Deprecated. -
getDefaultNetStyles2D
Deprecated. -
getLayoutProperties
Deprecated.- Specified by:
getLayoutProperties
in interfaceDisplayDescriptor
- Returns:
- hints for displaying a grid.
-
setLayoutProperties
Deprecated.Sets the layout properties for this display.- Specified by:
setLayoutProperties
in interfaceDisplayDescriptor
-
addValueLayerName
Deprecated.Adds the named value layer to the list of value layers to display.- Parameters:
name
- the name of the value layer to display.
-
getValueLayerNames
Deprecated.Gets a List of all the names of the value layers to display.- Returns:
- a List of all the names of the value layers to display.
-
setValueLayerStyleName
Deprecated.Sets the value layer style name.- Parameters:
name
-
-
getValueLayerStyleName
Deprecated.Gets the name of the value layer style. Will return null if no value layer style has been selected.- Returns:
- the name of the value layer style.
-
getBoundingBox
Deprecated.Gets the Bounding Box for the display. This defines the extents of the display- Specified by:
getBoundingBox
in interfaceDisplayDescriptor
- Returns:
- the BoundingBox
-
setBoundingBox
Deprecated.Sets the BoundingBox for the display. This defines the extents of the display.- Specified by:
setBoundingBox
in interfaceDisplayDescriptor
- Parameters:
boundingBox
- The BoundingBox
-
agentClassLayerOrders
Deprecated.- Specified by:
agentClassLayerOrders
in interfaceDisplayDescriptor
-
getLayerOrder
Deprecated.- Specified by:
getLayerOrder
in interfaceDisplayDescriptor
-
addLayerOrder
Deprecated.- Specified by:
addLayerOrder
in interfaceDisplayDescriptor
-
getProperty
Deprecated.Gets the named property.- Specified by:
getProperty
in interfaceDisplayDescriptor
- Parameters:
name
- the name of the property- Returns:
- the named property
-
setProperty
Deprecated.Sets the specified property.- Specified by:
setProperty
in interfaceDisplayDescriptor
- Parameters:
name
- the property's namevalue
- the property's value
-
propertyNames
Deprecated.Gets an iterable of names of the properties contained by this descriptor.- Specified by:
propertyNames
in interfaceDisplayDescriptor
- Returns:
- an iterable of names of the properties contained by this descriptor.
-
getStyles
Deprecated.- Specified by:
getStyles
in interfaceDisplayDescriptor
-
getValueLayerEditedStyleName
Deprecated.Gets the name of the value layer edited style. Will return null if no value layer style has been selected.- Returns:
- the name of the value layer edited style.
-
setValueLayerEditedStyleName
Deprecated.Sets the value layer edited style name.- Parameters:
name
-
-
getBackgroundColor
Deprecated.Description copied from interface:DisplayDescriptor
Gets the background color of the display.- Specified by:
getBackgroundColor
in interfaceDisplayDescriptor
- Returns:
- the background color of the display.
-
setBackgroundColor
Deprecated.Description copied from interface:DisplayDescriptor
Sets the background color of the display.- Specified by:
setBackgroundColor
in interfaceDisplayDescriptor
- Parameters:
color
- the background color of the display.
-
getLayerOrders
Deprecated.- Specified by:
getLayerOrders
in interfaceDisplayDescriptor
-
getEditedStyles
Deprecated.- Specified by:
getEditedStyles
in interfaceDisplayDescriptor
-
getDefaultStyles
Deprecated.- Specified by:
getDefaultStyles
in interfaceDisplayDescriptor
-
getDefaultNetStyles
Deprecated.- Specified by:
getDefaultNetStyles
in interfaceDisplayDescriptor
-
makeCopy
Deprecated.Description copied from interface:DisplayDescriptor
Returns a deep copy of the descriptor.- Specified by:
makeCopy
in interfaceDisplayDescriptor
- Returns:
-