Interface DisplayEditor
- All Superinterfaces:
- DisplayEditorLifecycle
- All Known Implementing Classes:
- DisplayEditor2D,- DisplayEditorGIS
Deprecated.
2D piccolo based code is being removed
Interface for classes that allow the editing of display. This includes
 adding new agents, edges, etc.
- Author:
- Nick Collier
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeprecated.Adds a new agent of the specified class the current agent collectionvoidagentsSelected(Object[] objs) Deprecated.Invoked when agents are selected.voidcloneAgent(Object agent) Deprecated.Clones the specified agent and adds the clone to the agent collection.voidedgesSelected(Object[] objs) Deprecated.Invoked when edges are selected.Deprecated.Gets the container of the visualized objects.voidDeprecated.Called when the palette mode is switched.voidnetSelected(Network net) Deprecated.Called when a network is selected in the palette.booleanremoveAgents(Object[] agents) Deprecated.Removes the specified agents from the agent collection.booleanremoveEdges(RepastEdge[] edges) Deprecated.Removes the specified edges from the network.Methods inherited from interface repast.simphony.visualization.DisplayEditorLifecyclerun, stop
- 
Method Details- 
addAgentDeprecated.Adds a new agent of the specified class the current agent collection- Parameters:
- clazz- the class of agent to add
 
- 
removeEdgesDeprecated.Removes the specified edges from the network.- Parameters:
- edges- the edges to remove
- Returns:
- true if the remove was was confirmed and successful otherwise false.
 
- 
removeAgentsDeprecated.Removes the specified agents from the agent collection.- Parameters:
- agents- the agents to remove
- Returns:
- true if the remove was confirmed and successful otherwise false.
 
- 
cloneAgentDeprecated.Clones the specified agent and adds the clone to the agent collection.- Parameters:
- agent- the agent to clone
 
- 
agentsSelectedDeprecated.Invoked when agents are selected.- Parameters:
- objs- the selected agents
 
- 
edgesSelectedDeprecated.Invoked when edges are selected.- Parameters:
- objs- the selected edges
 
- 
getContainerVisualizedObjectContainer getContainer()Deprecated.Gets the container of the visualized objects.- Returns:
- the container of the visualized objects.
 
- 
modeSwitchedDeprecated.Called when the palette mode is switched.- Parameters:
- mode- the new mode
 
- 
netSelectedDeprecated.Called when a network is selected in the palette.- Parameters:
- net- the selected network
 
 
-