Package com.uc4.communication.requests
Class NavigatorZDUTree.ZDUNode
java.lang.Object
com.uc4.communication.requests.NavigatorZDUTree.ZDUNode
- All Implemented Interfaces:
ITreeItem
- Enclosing class:
- NavigatorZDUTree
Represents a node in the
NavigationZDUTree.-
Method Summary
Modifier and TypeMethodDescriptionReturns an Iterator which can be used to step through the children of thisITreeItem.getId()Returns the ID of this item.getName()Returns the name of thisITreeItem.intsize()Returns the number of child items of thisITreeItem.Returns the traffic light information of thisITreeItem.
-
Method Details
-
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
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
Description copied from interface:ITreeItemReturns the traffic light information of thisITreeItem.- Specified by:
trafficLightin interfaceITreeItem- Returns:
TrafficLight
-
getId
Returns the ID of this item.- Returns:
- ID, never null
-