Package com.uc4.api
Interface ITreeItem
-
- All Known Implementing Classes:
NavigatorAgentTree.AgentLeaf
,NavigatorAgentTree.AgentNode
,NavigatorCATree.CustomAttributeLeaf
,NavigatorCATree.CustomAttributeNode
,NavigatorQueueTree.QueueLeaf
,NavigatorQueueTree.QueueNode
,NavigatorStatusTree.StatusLeaf
,NavigatorStatusTree.StatusNode
,NavigatorZDUTree.ZDUNode
public interface ITreeItem
This interface is implemented by all item of a navigator tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Iterator<? extends ITreeItem>
childIterator()
Returns an Iterator which can be used to step through the children of thisITreeItem
.java.lang.String
getName()
Returns the name of thisITreeItem
.int
size()
Returns the number of child items of thisITreeItem
.TrafficLight
trafficLight()
Returns the traffic light information of thisITreeItem
.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of thisITreeItem
.- Returns:
- name of this
ITreeItem
-
size
int size()
Returns the number of child items of thisITreeItem
.- Returns:
- number of child items of this
ITreeItem
-
childIterator
java.util.Iterator<? extends ITreeItem> childIterator()
Returns an Iterator which can be used to step through the children of thisITreeItem
.- Returns:
- Iterator containing the children of this
ITreeItem
-
trafficLight
TrafficLight trafficLight()
Returns the traffic light information of thisITreeItem
.- Returns:
TrafficLight
-
-