Class AgentEditor

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class AgentEditor extends JPanel
Deprecated.
2D piccolo based code is being removed
Author:
User #2
See Also:
  • Constructor Details

    • AgentEditor

      public AgentEditor()
      Deprecated.
  • Method Details

    • init

      public void init(DisplayEditor editor, List<Class> agentClasses, List<RepastEdge> edges, int dividerLoc)
      Deprecated.
    • agentAdded

      public void agentAdded(Object agent, boolean select)
      Deprecated.
      Called when a new agent has been added.
      Parameters:
      agent - the added agent
      select - true if the agent should be selected
    • agentRemoved

      public void agentRemoved(Object agent)
      Deprecated.
      Called when an agent has been removed.
      Parameters:
      agent - the removed agent
    • agentMoved

      public void agentMoved(Object agent)
      Deprecated.
    • edgeAdded

      public void edgeAdded(RepastEdge edge, boolean select)
      Deprecated.
      Called when a new edge has been eadded.
      Parameters:
      edge - the added edge
      select - true if the agent should be selected
    • edgeRemoved

      public void edgeRemoved(RepastEdge edge)
      Deprecated.
    • edgesSelected

      public void edgesSelected(List<Object> edges)
      Deprecated.
      Informs this AgentEditor that edges have been selected by code external to this AgentEditor.
      Parameters:
      edges - the selected edges.
    • agentsSelected

      public void agentsSelected(List<Object> agents)
      Deprecated.
      Informs this AgentEditor that agents have been selected by code external to this AgentEditor.
      Parameters:
      agents - the selected agents.