Package com.uc4.communication.requests
Class NavigatorZDUTree.ZDUNode
- java.lang.Object
-
- com.uc4.communication.requests.NavigatorZDUTree.ZDUNode
-
- All Implemented Interfaces:
ITreeItem
- Enclosing class:
- NavigatorZDUTree
public static class NavigatorZDUTree.ZDUNode extends java.lang.Object implements ITreeItem
Represents a node in theNavigationZDUTree.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<NavigatorZDUTree.ZDUNode>childIterator()Returns an Iterator which can be used to step through the children of thisITreeItem.java.lang.StringgetId()Returns the ID of this item.java.lang.StringgetName()Returns the name of thisITreeItem.intsize()Returns the number of child items of thisITreeItem.TrafficLighttrafficLight()Returns the traffic light information of thisITreeItem.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ITreeItemReturns the name of thisITreeItem.
-
size
public int size()
Description copied from interface:ITreeItemReturns the number of child items of thisITreeItem.
-
childIterator
public java.util.Iterator<NavigatorZDUTree.ZDUNode> childIterator()
Description copied from interface:ITreeItemReturns an Iterator which can be used to step through the children of thisITreeItem.- Specified by:
childIteratorin interfaceITreeItem- Returns:
- Iterator containing the children of this
ITreeItem
-
trafficLight
public TrafficLight trafficLight()
Description copied from interface:ITreeItemReturns the traffic light information of thisITreeItem.- Specified by:
trafficLightin interfaceITreeItem- Returns:
TrafficLight
-
getId
public java.lang.String getId()
Returns the ID of this item.- Returns:
- ID, never null
-
-