public interface ITreeNode extends IItem, ITreeContainer, ITreeNodeCheckableObservable, IKeyObservable, ITreeNodeCommon
| Modifier and Type | Method and Description |
|---|---|
IPopupMenu |
createPopupMenu() |
CheckedState |
getCheckedState() |
ITreeNode |
getParent()
Gets the parent of the widget
|
java.util.List<ITreeNode> |
getPath() |
ITree |
getTree() |
boolean |
isCheckable() |
boolean |
isLeaf() |
boolean |
isTopLevel() |
boolean |
isUnchecked()
Checks if node is unchecked.
|
void |
setCheckedState(CheckedState state) |
void |
setGreyed()
Sets the node to the greyed state.
|
void |
setPopupMenu(IMenuModel popupMenu)
Sets a popup menu for this node.
|
getIcon, getText, getToolTipTextdispose, getRoot, isDisposedaddDisposeListener, removeDisposeListeneraccept, addNode, addNode, addNode, addNode, getChildren, getLevel, getParentContainer, removeAllNodes, removeNode, removeNode, setAllChildrenBelowExpandedAboveCollapsed, setAllChildrenChecked, setAllChildrenExpanded, setAllChildrenExpandedaddCheckableListener, removeCheckableListeneraddKeyListener, removeKeyListenerisChecked, isExpanded, isGreyed, isSelected, setBackgroundColor, setCheckable, setChecked, setExpanded, setForegroundColor, setMarkup, setSelectedsetIcon, setText, setToolTipTextgetUiReference, isEnabled, setEnabledaddTreeNodeListener, removeTreeNodeListeneraddPopupDetectionListener, removePopupDetectionListenerITree getTree()
boolean isLeaf()
boolean isTopLevel()
java.util.List<ITreeNode> getPath()
IPopupMenu createPopupMenu()
void setPopupMenu(IMenuModel popupMenu)
menuModel - The model of the popup menu or null, if no popup should be shown on popup eventsITreeNode getParent()
IWidgetCheckedState getCheckedState()
void setCheckedState(CheckedState state)
void setGreyed()
boolean isUnchecked()
boolean isCheckable()
Siehe auch Jowidgets Nutzerhandbuch