Uses of Class
org.eclipse.swt.widgets.TreeItem
-
Uses of TreeItem in org.eclipse.swt.custom
Modifier and TypeMethodDescriptionTreeEditor.getItem()
Returns the TreeItem for the row of the cell being tracked by this editor.Modifier and TypeMethodDescriptionvoid
Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above.void
Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above.void
-
Uses of TreeItem in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionTree.getItem
(int index) Returns the item at the given, zero-relative index in the receiver.Returns the item at the given point in the receiver or null if no such item exists.TreeItem.getItem
(int index) Returns the item at the given, zero-relative index in the receiver.TreeItem[]
Tree.getItems()
Returns a (possibly empty) array of items contained in the receiver that are direct item children of the receiver.TreeItem[]
TreeItem.getItems()
Returns a (possibly empty) array ofTreeItem
s which are the direct item children of the receiver.Tree.getParentItem()
Returns the receiver's parent item, which must be aTreeItem
or null when the receiver is a root.TreeItem.getParentItem()
Returns the receiver's parent item, which must be aTreeItem
or null when the receiver is a root.TreeItem[]
Tree.getSelection()
Returns an array ofTreeItem
s that are currently selected in the receiver.Tree.getTopItem()
Returns the item which is currently at the top of the receiver.Modifier and TypeMethodDescriptionvoid
Deselects an item in the receiver.int
Searches the receiver's list starting at the first item (index 0) until an item is found that is equal to the argument, and returns the index of that item.int
Searches the receiver's list starting at the first item (index 0) until an item is found that is equal to the argument, and returns the index of that item.void
Selects an item in the receiver.void
Tree.setSelection
(TreeItem selection) Sets the receiver's selection to the given item.void
Tree.setSelection
(TreeItem[] selection) Sets the receiver's selection to be the given array of items.void
Tree.setTopItem
(TreeItem item) Sets the item which is currently at the top of the receiver.void
Shows the item.ModifierConstructorDescriptionConstructs a new instance of this class given its parent (which must be aTree
or aTreeItem
) and a style value describing its behavior and appearance.Constructs a new instance of this class given its parent (which must be aTree
or aTreeItem
), a style value describing its behavior and appearance, and the index at which to place it in the items maintained by its parent.