Uses of Class
org.eclipse.swt.widgets.TreeItem
Package
Description
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
SWT Custom widgets.
SWT widget public API classes.
-
Uses of TreeItem in org.eclipse.jface.viewers
Modifier and TypeMethodDescriptionvoid
StructuredViewer.ColorAndFontCollector.applyFontsAndColors
(TreeItem control) Apply the fonts and colors to the control if required.void
StructuredViewer.ColorAndFontCollectorWithProviders.applyFontsAndColors
(TreeItem control) -
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.TreeCursor.getRow()
Returns the row over which the TreeCursor is positioned.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
Specifies theTreeItem
that is to be edited.void
TreeCursor.setSelection
(TreeItem row, int column) Positions the TreeCursor over the cell at the given row and column in the parent tree. -
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.setInsertMark
(TreeItem item, boolean before) Display a mark indicating the point at which an item will be inserted.void
Tree.setSelection
(TreeItem item) Sets the receiver's selection to the given item.void
Tree.setSelection
(TreeItem[] items) 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.