Interface ITmfTreeViewerEntry
- All Known Implementing Classes:
TmfGenericTreeEntry,TmfTreeViewerEntry
public interface ITmfTreeViewerEntry
Interface for an entry (row) in a TMF tree viewer
- Author:
- Geneviève Bastien
-
Method Summary
Modifier and TypeMethodDescription@NonNull List<@NonNull ? extends ITmfTreeViewerEntry>Returns the child elements of this entry.getName()Returns the name of this entry.Returns the parent of this entry, ornullif it has none.booleanReturns whether this entry has children.
-
Method Details
-
getParent
ITmfTreeViewerEntry getParent()Returns the parent of this entry, ornullif it has none.- Returns:
- the parent element, or
nullif it has none
-
hasChildren
boolean hasChildren()Returns whether this entry has children.- Returns:
trueif the given element has children, andfalseif it has no children
-
getChildren
@NonNull List<@NonNull ? extends ITmfTreeViewerEntry> getChildren()Returns the child elements of this entry.- Returns:
- an array of child elements
-
getName
String getName()Returns the name of this entry.- Returns:
- the entry name
-