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, getToolTipText
dispose, getRoot, isDisposed
addDisposeListener, removeDisposeListener
accept, addNode, addNode, addNode, addNode, getChildren, getLevel, getParentContainer, removeAllNodes, removeNode, removeNode, setAllChildrenBelowExpandedAboveCollapsed, setAllChildrenChecked, setAllChildrenExpanded, setAllChildrenExpanded
addCheckableListener, removeCheckableListener
addKeyListener, removeKeyListener
isChecked, isExpanded, isGreyed, isSelected, setBackgroundColor, setCheckable, setChecked, setExpanded, setForegroundColor, setMarkup, setSelected
setIcon, setText, setToolTipText
getUiReference, isEnabled, setEnabled
addTreeNodeListener, removeTreeNodeListener
addPopupDetectionListener, removePopupDetectionListener
ITree 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()
IWidget
CheckedState getCheckedState()
void setCheckedState(CheckedState state)
void setGreyed()
boolean isUnchecked()
boolean isCheckable()
Siehe auch Jowidgets Nutzerhandbuch