Interface DisplayEditor

    • Method Detail

      • addAgent

        void addAgent​(Class clazz)
        Deprecated.
        Adds a new agent of the specified class the current agent collection
        Parameters:
        clazz - the class of agent to add
      • removeEdges

        boolean removeEdges​(RepastEdge[] edges)
        Deprecated.
        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.
      • removeAgents

        boolean removeAgents​(Object[] agents)
        Deprecated.
        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.
      • cloneAgent

        void cloneAgent​(Object agent)
        Deprecated.
        Clones the specified agent and adds the clone to the agent collection.
        Parameters:
        agent - the agent to clone
      • agentsSelected

        void agentsSelected​(Object[] objs)
        Deprecated.
        Invoked when agents are selected.
        Parameters:
        objs - the selected agents
      • edgesSelected

        void edgesSelected​(Object[] objs)
        Deprecated.
        Invoked when edges are selected.
        Parameters:
        objs - the selected edges
      • getContainer

        VisualizedObjectContainer getContainer()
        Deprecated.
        Gets the container of the visualized objects.
        Returns:
        the container of the visualized objects.
      • modeSwitched

        void modeSwitched​(DisplayEditor.Mode mode)
        Deprecated.
        Called when the palette mode is switched.
        Parameters:
        mode - the new mode
      • netSelected

        void netSelected​(Network net)
        Deprecated.
        Called when a network is selected in the palette.
        Parameters:
        net - the selected network