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
ConstructorsConstructorDescriptionDeprecated.DefaultDisplayDescriptor(DisplayDescriptor descriptor) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEditedStyle(String objClassName, String userStyleName) Deprecated.voidaddLayerOrder(String objClassName, int order) Deprecated.voidaddNetworkEditedStyle(Object networkID, String networkClassName) Deprecated.voidaddNetworkStyle(Object networkID, String networkClassName) Deprecated.voidaddProjection(ProjectionData data, ProjectionDescriptor descriptor) Deprecated.Adds the data for a projection for which this is the display info.voidDeprecated.voidaddValueLayerName(String name) Deprecated.Adds the named value layer to the list of value layers to display.Deprecated.Deprecated.Deprecated.voidDeprecated.Removes any added projection descriptors.voidDeprecated.voidDeprecated.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.intDeprecated.Deprecated.Gets the name of the projection associated with the layout.Deprecated.getNetworkEditedStyleName(Object networkID) Deprecated.getNetworkStyleClassName(Object networkID) Deprecated.intDeprecated.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.intDeprecated.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.voidset(DisplayDescriptor descriptor) Deprecated.voidsetBackgroundColor(Color color) Deprecated.Sets the background color of the display.voidsetBoundingBox(BoundingBox boundingBox) Deprecated.Sets the BoundingBox for the display.voidsetDisplayType(String type) Deprecated.voidsetDisplayType(String type, boolean reset) Deprecated.Sets the display type of this descriptor.voidsetLayoutClassName(String className) Deprecated.voidsetLayoutFrequency(IDisplay.LayoutFrequency frequency) Deprecated.voidsetLayoutInterval(int interval) Deprecated.voidsetLayoutProjection(String layoutProjection) Deprecated.Sets the name of the projection to associate with the layout.voidDeprecated.Sets the layout properties for this display.voidsetProperty(String name, Object value) Deprecated.Sets the specified property.voidsetScheduleParameters(ScheduleParameters scheduleInfo) Deprecated.Sets the parameters for when to activate the display update.voidDeprecated.Sets the value layer edited style name.voidsetValueLayerStyleName(String name) Deprecated.Sets the value layer style name.Methods 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
-
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:
getProjectionsin interfaceDisplayDescriptor- Returns:
- the data for all the projections for which this is the display info.
-
getProjectionCount
public int getProjectionCount()Deprecated.Description copied from interface:DisplayDescriptorGets the number of projections in this display descriptor.- Specified by:
getProjectionCountin 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:
addProjectionin interfaceDisplayDescriptor- Parameters:
data-descriptor-
-
clearProjections
public void clearProjections()Deprecated.- Specified by:
clearProjectionsin interfaceDisplayDescriptor
-
clearValueLayerNames
public void clearValueLayerNames()Deprecated. -
getValueLayerCount
public int getValueLayerCount()Deprecated. -
getProjectionDescriptor
Deprecated.Gets the ProjectionDescriptor for the named projection.- Specified by:
getProjectionDescriptorin 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:
clearProjectionDescriptorsin interfaceDisplayDescriptor
-
getProjectionDescriptors
Deprecated.- Specified by:
getProjectionDescriptorsin interfaceDisplayDescriptor
-
set
Deprecated.- Specified by:
setin interfaceDisplayDescriptor
-
getDisplayType
Deprecated.- Specified by:
getDisplayTypein interfaceDisplayDescriptor
-
setDisplayType
Deprecated. -
setDisplayType
Deprecated.Description copied from interface:DisplayDescriptorSets 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:
setDisplayTypein 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:
addStylein interfaceDisplayDescriptor
-
addEditedStyle
Deprecated.- Specified by:
addEditedStylein interfaceDisplayDescriptor
-
addNetworkStyle
Deprecated.- Specified by:
addNetworkStylein interfaceDisplayDescriptor
-
addNetworkEditedStyle
Deprecated.- Specified by:
addNetworkEditedStylein interfaceDisplayDescriptor
-
getStyleClassName
Deprecated.- Specified by:
getStyleClassNamein interfaceDisplayDescriptor
-
getEditedStyleName
Deprecated.- Specified by:
getEditedStyleNamein interfaceDisplayDescriptor
-
getNetworkStyleClassName
Deprecated.- Specified by:
getNetworkStyleClassNamein interfaceDisplayDescriptor
-
getNetworkEditedStyleName
Deprecated.- Specified by:
getNetworkEditedStyleNamein interfaceDisplayDescriptor
-
agentClassStyleNames
Deprecated.- Specified by:
agentClassStyleNamesin interfaceDisplayDescriptor
-
agentClassEditedStyleNames
Deprecated.- Specified by:
agentClassEditedStyleNamesin interfaceDisplayDescriptor
-
networkStyleIDs
Deprecated.- Specified by:
networkStyleIDsin interfaceDisplayDescriptor
-
networkEditedStyleIDs
Deprecated.- Specified by:
networkEditedStyleIDsin interfaceDisplayDescriptor
-
getLayoutFrqeuency
Deprecated.- Specified by:
getLayoutFrqeuencyin interfaceDisplayDescriptor
-
setLayoutFrequency
Deprecated.- Specified by:
setLayoutFrequencyin interfaceDisplayDescriptor
-
getScheduleParameters
Deprecated.Description copied from interface:DisplayDescriptorRetrieves the parameters for when to activate the display update.- Specified by:
getScheduleParametersin interfaceDisplayDescriptor- Returns:
- the parameters for when to activate the display update.
-
setScheduleParameters
Deprecated.Description copied from interface:DisplayDescriptorSets the parameters for when to activate the display update.- Specified by:
setScheduleParametersin interfaceDisplayDescriptor- Parameters:
scheduleInfo- when to activate the display update
-
getLayoutClassName
Deprecated.- Specified by:
getLayoutClassNamein interfaceDisplayDescriptor
-
setLayoutClassName
Deprecated.- Specified by:
setLayoutClassNamein interfaceDisplayDescriptor
-
getLayoutProjection
Deprecated.Description copied from interface:DisplayDescriptorGets the name of the projection associated with the layout.- Specified by:
getLayoutProjectionin interfaceDisplayDescriptor- Returns:
- the name of the projection associated with the layout.
-
setLayoutProjection
Deprecated.Description copied from interface:DisplayDescriptorSets the name of the projection to associate with the layout.- Specified by:
setLayoutProjectionin interfaceDisplayDescriptor
-
setLayoutInterval
public void setLayoutInterval(int interval) Deprecated.- Specified by:
setLayoutIntervalin interfaceDisplayDescriptor
-
getLayoutInterval
public int getLayoutInterval()Deprecated.- Specified by:
getLayoutIntervalin interfaceDisplayDescriptor
-
getDefaultStyles3D
Deprecated. -
getDefaultStyles2D
Deprecated. -
getDefaultStylesGIS3D
Deprecated. -
getDefaultNetStyles3D
Deprecated. -
getDefaultNetStyles2D
Deprecated. -
getLayoutProperties
Deprecated.- Specified by:
getLayoutPropertiesin interfaceDisplayDescriptor- Returns:
- hints for displaying a grid.
-
setLayoutProperties
Deprecated.Sets the layout properties for this display.- Specified by:
setLayoutPropertiesin 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:
getBoundingBoxin interfaceDisplayDescriptor- Returns:
- the BoundingBox
-
setBoundingBox
Deprecated.Sets the BoundingBox for the display. This defines the extents of the display.- Specified by:
setBoundingBoxin interfaceDisplayDescriptor- Parameters:
boundingBox- The BoundingBox
-
agentClassLayerOrders
Deprecated.- Specified by:
agentClassLayerOrdersin interfaceDisplayDescriptor
-
getLayerOrder
Deprecated.- Specified by:
getLayerOrderin interfaceDisplayDescriptor
-
addLayerOrder
Deprecated.- Specified by:
addLayerOrderin interfaceDisplayDescriptor
-
getProperty
Deprecated.Gets the named property.- Specified by:
getPropertyin interfaceDisplayDescriptor- Parameters:
name- the name of the property- Returns:
- the named property
-
setProperty
Deprecated.Sets the specified property.- Specified by:
setPropertyin 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:
propertyNamesin interfaceDisplayDescriptor- Returns:
- an iterable of names of the properties contained by this descriptor.
-
getStyles
Deprecated.- Specified by:
getStylesin 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:DisplayDescriptorGets the background color of the display.- Specified by:
getBackgroundColorin interfaceDisplayDescriptor- Returns:
- the background color of the display.
-
setBackgroundColor
Deprecated.Description copied from interface:DisplayDescriptorSets the background color of the display.- Specified by:
setBackgroundColorin interfaceDisplayDescriptor- Parameters:
color- the background color of the display.
-
getLayerOrders
Deprecated.- Specified by:
getLayerOrdersin interfaceDisplayDescriptor
-
getEditedStyles
Deprecated.- Specified by:
getEditedStylesin interfaceDisplayDescriptor
-
getDefaultStyles
Deprecated.- Specified by:
getDefaultStylesin interfaceDisplayDescriptor
-
getDefaultNetStyles
Deprecated.- Specified by:
getDefaultNetStylesin interfaceDisplayDescriptor
-
makeCopy
Deprecated.Description copied from interface:DisplayDescriptorReturns a deep copy of the descriptor.- Specified by:
makeCopyin interfaceDisplayDescriptor- Returns:
-