Class NavigatorAgentTree.AgentNode

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Iterator<NavigatorAgentTree.AgentNode> childIterator()
      Returns an Iterator which can be used to step through the children of this ITreeItem.
      int getClient()
      Returns the corresponding client of the Agent.
      java.lang.String getId()
      Returns the intern id of the AgentNode.
      java.lang.String getName()
      Returns the name of this ITreeItem.
      int size()
      Returns the number of child items of this ITreeItem.
      TrafficLight trafficLight()
      Returns the traffic light information of this ITreeItem.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: ITreeItem
        Returns the name of this ITreeItem.
        Specified by:
        getName in interface ITreeItem
        Returns:
        name of this ITreeItem
      • size

        public int size()
        Description copied from interface: ITreeItem
        Returns the number of child items of this ITreeItem.
        Specified by:
        size in interface ITreeItem
        Returns:
        number of child items of this ITreeItem
      • childIterator

        public java.util.Iterator<NavigatorAgentTree.AgentNode> childIterator()
        Description copied from interface: ITreeItem
        Returns an Iterator which can be used to step through the children of this ITreeItem.
        Specified by:
        childIterator in interface ITreeItem
        Returns:
        Iterator containing the children of this ITreeItem
      • trafficLight

        public TrafficLight trafficLight()
        Description copied from interface: ITreeItem
        Returns the traffic light information of this ITreeItem.
        Specified by:
        trafficLight in interface ITreeItem
        Returns:
        TrafficLight
      • getId

        public java.lang.String getId()
        Returns the intern id of the AgentNode.
        Returns:
        intern id
      • getClient

        public int getClient()
        Returns the corresponding client of the Agent.
        Returns:
        Corresponding client of the Agent