|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrepast.simphony.engine.schedule.DefaultDescriptor
repast.simphony.visualization.engine.DefaultDisplayDescriptor
public class DefaultDisplayDescriptor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface repast.simphony.visualization.engine.DisplayDescriptor |
|---|
DisplayDescriptor.DisplayType |
| Constructor Summary | |
|---|---|
DefaultDisplayDescriptor()
|
|
DefaultDisplayDescriptor(String name)
|
|
| Method Summary | |
|---|---|
void |
addEditedStyle(String objClassName,
String userStyleName)
|
void |
addLayerOrder(String objClassName,
int order)
|
void |
addNetworkEditedStyle(Object networkID,
String networkClassName)
|
void |
addNetworkStyle(Object networkID,
String networkClassName)
|
void |
addProjection(ProjectionData data,
ProjectionDescriptor descriptor)
Adds the data for a projection for which this is the display info. |
void |
addStyle(String objClassName,
String styleClassName)
|
void |
addValueLayerName(String name)
Adds the named value layer to the list of value layers to display. |
Iterable<String> |
agentClassEditedStyleNames()
|
Iterable<String> |
agentClassLayerOrders()
|
Iterable<String> |
agentClassStyleNames()
|
void |
clearProjectionDescriptors()
Removes any added projection descriptors. |
Color |
getBackgroundColor()
Gets the background color of the display. |
BoundingBox |
getBoundingBox()
Gets the Bounding Box for the display. |
Class<?>[] |
getDefaultNetStyles2D()
|
Class<?>[] |
getDefaultNetStyles3D()
|
Class<?>[] |
getDefaultNetStylesGIS3D()
|
Class<?>[] |
getDefaultStyles2D()
|
Class<?>[] |
getDefaultStyles3D()
|
Class<?>[] |
getDefaultStylesGIS3D()
|
DisplayDescriptor.DisplayType |
getDisplayType()
|
String |
getEditedStyleName(String objClassName)
|
Map<String,String> |
getEditedStyles()
|
Integer |
getLayerOrder(String objClassName)
|
Map<String,Integer> |
getLayerOrders()
|
String |
getLayoutClassName()
|
IDisplay.LayoutFrequency |
getLayoutFrqeuency()
|
int |
getLayoutInterval()
|
String |
getLayoutProjection()
Gets the name of the projection associated with the layout. |
VisualizationProperties |
getLayoutProperties()
|
String |
getNetworkEditedStyleName(Object networkID)
|
String |
getNetworkStyleClassName(Object networkID)
|
ProjectionDescriptor |
getProjectionDescriptor(String name)
Gets the ProjectionDescriptor for the named projection. |
Iterable<ProjectionDescriptor> |
getProjectionDescriptors()
|
List<ProjectionData> |
getProjections()
Gets the data for all the projections for which this is the display info. |
Object |
getProperty(String name)
Gets the named property. |
ScheduleParameters |
getScheduleParameters()
Retrieves the parameters for when to activate the display update. |
String |
getStyleClassName(String objClassName)
|
Map<String,String> |
getStyles()
|
String |
getValueLayerEditedStyleName()
Gets the name of the value layer edited style. |
List<String> |
getValueLayerNames()
Gets a List of all the names of the value layers to display. |
String |
getValueLayerStyleName()
Gets the name of the value layer style. |
Iterable<Object> |
networkEditedStyleIDs()
|
Iterable<Object> |
networkStyleIDs()
|
Iterable<String> |
propertyNames()
Gets an iterable of names of the properties contained by this descriptor. |
void |
set(DisplayDescriptor descriptor)
|
void |
setBackgroundColor(Color color)
Sets the background color of the display. |
void |
setBoundingBox(BoundingBox boundingBox)
Sets the BoundingBox for the display. |
void |
setDisplayType(DisplayDescriptor.DisplayType type)
|
void |
setDisplayType(DisplayDescriptor.DisplayType type,
boolean reset)
Sets the display type of this descriptor. |
void |
setLayoutClassName(String className)
|
void |
setLayoutFrequency(IDisplay.LayoutFrequency frequency)
|
void |
setLayoutInterval(int interval)
|
void |
setLayoutProjection(String layoutProjection)
Sets the name of the projection to associate with the layout. |
void |
setLayoutProperties(VisualizationProperties props)
Sets the layout properties for this display. |
void |
setProperty(String name,
Object value)
Sets the specified property. |
void |
setScheduleParameters(ScheduleParameters scheduleInfo)
Sets the parameters for when to activate the display update. |
void |
setValueLayerEditedStyleName(String name)
Sets the value layer edited style name. |
void |
setValueLayerStyleName(String name)
Sets the value layer style name. |
| Methods inherited from class repast.simphony.engine.schedule.DefaultDescriptor |
|---|
getName, 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 |
| Constructor Detail |
|---|
public DefaultDisplayDescriptor()
public DefaultDisplayDescriptor(String name)
| Method Detail |
|---|
public List<ProjectionData> getProjections()
getProjections in interface DisplayDescriptor
public void addProjection(ProjectionData data,
ProjectionDescriptor descriptor)
addProjection in interface DisplayDescriptordata - descriptor - public ProjectionDescriptor getProjectionDescriptor(String name)
getProjectionDescriptor in interface DisplayDescriptorname - the name of the projection whose descriptor we want
public void clearProjectionDescriptors()
clearProjectionDescriptors in interface DisplayDescriptorpublic Iterable<ProjectionDescriptor> getProjectionDescriptors()
getProjectionDescriptors in interface DisplayDescriptorpublic void set(DisplayDescriptor descriptor)
set in interface DisplayDescriptorpublic DisplayDescriptor.DisplayType getDisplayType()
getDisplayType in interface DisplayDescriptorpublic void setDisplayType(DisplayDescriptor.DisplayType type)
setDisplayType in interface DisplayDescriptor
public void setDisplayType(DisplayDescriptor.DisplayType type,
boolean reset)
DisplayDescriptor
setDisplayType in interface DisplayDescriptortype - the display typereset - if true, then the fields in the descriptor that depend on type
info will be reset.
public void addStyle(String objClassName,
String styleClassName)
addStyle in interface DisplayDescriptor
public void addEditedStyle(String objClassName,
String userStyleName)
addEditedStyle in interface DisplayDescriptor
public void addNetworkStyle(Object networkID,
String networkClassName)
addNetworkStyle in interface DisplayDescriptor
public void addNetworkEditedStyle(Object networkID,
String networkClassName)
addNetworkEditedStyle in interface DisplayDescriptorpublic String getStyleClassName(String objClassName)
getStyleClassName in interface DisplayDescriptorpublic String getEditedStyleName(String objClassName)
getEditedStyleName in interface DisplayDescriptorpublic String getNetworkStyleClassName(Object networkID)
getNetworkStyleClassName in interface DisplayDescriptorpublic String getNetworkEditedStyleName(Object networkID)
getNetworkEditedStyleName in interface DisplayDescriptorpublic Iterable<String> agentClassStyleNames()
agentClassStyleNames in interface DisplayDescriptorpublic Iterable<String> agentClassEditedStyleNames()
agentClassEditedStyleNames in interface DisplayDescriptorpublic Iterable<Object> networkStyleIDs()
networkStyleIDs in interface DisplayDescriptorpublic Iterable<Object> networkEditedStyleIDs()
networkEditedStyleIDs in interface DisplayDescriptorpublic IDisplay.LayoutFrequency getLayoutFrqeuency()
getLayoutFrqeuency in interface DisplayDescriptorpublic void setLayoutFrequency(IDisplay.LayoutFrequency frequency)
setLayoutFrequency in interface DisplayDescriptorpublic ScheduleParameters getScheduleParameters()
DisplayDescriptor
getScheduleParameters in interface DisplayDescriptorpublic void setScheduleParameters(ScheduleParameters scheduleInfo)
DisplayDescriptor
setScheduleParameters in interface DisplayDescriptorscheduleInfo - when to activate the display updatepublic String getLayoutClassName()
getLayoutClassName in interface DisplayDescriptorpublic void setLayoutClassName(String className)
setLayoutClassName in interface DisplayDescriptorpublic String getLayoutProjection()
DisplayDescriptor
getLayoutProjection in interface DisplayDescriptorpublic void setLayoutProjection(String layoutProjection)
DisplayDescriptor
setLayoutProjection in interface DisplayDescriptorpublic void setLayoutInterval(int interval)
setLayoutInterval in interface DisplayDescriptorpublic int getLayoutInterval()
getLayoutInterval in interface DisplayDescriptorpublic Class<?>[] getDefaultStyles3D()
getDefaultStyles3D in interface DisplayDescriptorpublic Class<?>[] getDefaultStyles2D()
getDefaultStyles2D in interface DisplayDescriptorpublic Class<?>[] getDefaultStylesGIS3D()
getDefaultStylesGIS3D in interface DisplayDescriptorpublic Class<?>[] getDefaultNetStyles3D()
getDefaultNetStyles3D in interface DisplayDescriptorpublic Class<?>[] getDefaultNetStyles2D()
getDefaultNetStyles2D in interface DisplayDescriptorpublic Class<?>[] getDefaultNetStylesGIS3D()
getDefaultNetStylesGIS3D in interface DisplayDescriptorpublic VisualizationProperties getLayoutProperties()
getLayoutProperties in interface DisplayDescriptorpublic void setLayoutProperties(VisualizationProperties props)
setLayoutProperties in interface DisplayDescriptorpublic void addValueLayerName(String name)
addValueLayerName in interface DisplayDescriptorname - the name of the value layer to display.public List<String> getValueLayerNames()
getValueLayerNames in interface DisplayDescriptorpublic void setValueLayerStyleName(String name)
setValueLayerStyleName in interface DisplayDescriptorname - public String getValueLayerStyleName()
getValueLayerStyleName in interface DisplayDescriptorpublic BoundingBox getBoundingBox()
getBoundingBox in interface DisplayDescriptorpublic void setBoundingBox(BoundingBox boundingBox)
setBoundingBox in interface DisplayDescriptorboundingBox - The BoundingBoxpublic Iterable<String> agentClassLayerOrders()
agentClassLayerOrders in interface DisplayDescriptorpublic Integer getLayerOrder(String objClassName)
getLayerOrder in interface DisplayDescriptor
public void addLayerOrder(String objClassName,
int order)
addLayerOrder in interface DisplayDescriptorpublic Object getProperty(String name)
getProperty in interface DisplayDescriptorname - the name of the property
public void setProperty(String name,
Object value)
setProperty in interface DisplayDescriptorname - the property's namevalue - the property's valuepublic Iterable<String> propertyNames()
propertyNames in interface DisplayDescriptorpublic Map<String,String> getStyles()
getStyles in interface DisplayDescriptorpublic String getValueLayerEditedStyleName()
getValueLayerEditedStyleName in interface DisplayDescriptorpublic void setValueLayerEditedStyleName(String name)
setValueLayerEditedStyleName in interface DisplayDescriptorname - public Color getBackgroundColor()
DisplayDescriptor
getBackgroundColor in interface DisplayDescriptorpublic void setBackgroundColor(Color color)
DisplayDescriptor
setBackgroundColor in interface DisplayDescriptorcolor - the background color of the display.public Map<String,Integer> getLayerOrders()
getLayerOrders in interface DisplayDescriptorpublic Map<String,String> getEditedStyles()
getEditedStyles in interface DisplayDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||