Class NavigatorStatusTree.StatusNode

java.lang.Object
com.uc4.communication.requests.NavigatorStatusTree.StatusNode
All Implemented Interfaces:
ITreeItem
Direct Known Subclasses:
NavigatorStatusTree.StatusLeaf
Enclosing class:
NavigatorStatusTree

public class NavigatorStatusTree.StatusNode extends Object implements ITreeItem
Represents a node in the NavigatorStatusTree.
  • Constructor Details

    • StatusNode

      protected StatusNode(Element node)
  • Method Details

    • getName

      public 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 Iterator<NavigatorStatusTree.StatusNode> 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