Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.eclipse.swt.widgets.TreeItem

Packages that use TreeItem
org.eclipse.swt.custom | SWT Custom widgets.
org.eclipse.swt.widgets | SWT widget public API classes.

Uses of TreeItem in org.eclipse.swt.custom

Methods in org.eclipse.swt.custom that return TreeItem
`TreeItem` | `TreeEditor.getItem()` Returns the TreeItem for the row of the cell being tracked by this editor.

Methods in org.eclipse.swt.custom with parameters of type TreeItem
`void` | `TreeEditor.setItem(TreeItem item)`
`void` | `TreeEditor.setEditor(Control editor, TreeItem item)` Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above.

Uses of TreeItem in org.eclipse.swt.widgets

Methods in org.eclipse.swt.widgets that return TreeItem
`TreeItem[]` | `TreeItem.getItems()` Returns an array of `TreeItem`s which are the direct item children of the receiver.
`TreeItem` | `TreeItem.getParentItem()` Returns the receiver's parent item, which must be a `TreeItem` or null when the receiver is a root.
`TreeItem` | `Tree.getItem(Point point)` Returns the item at the given point in the receiver or null if no such item exists.
`TreeItem[]` | `Tree.getItems()` Returns the items contained in the receiver that are direct item children of the receiver.
`TreeItem` | `Tree.getParentItem()` Returns the receiver's parent item, which must be a `TreeItem` or null when the receiver is a root.
`TreeItem[]` | `Tree.getSelection()` Returns an array of `TreeItem`s that are currently selected in the receiver.
`TreeItem` | `Tree.getTopItem()` Returns the item which is currently at the top of the receiver.

Methods in org.eclipse.swt.widgets with parameters of type TreeItem
`void` | `Tree.setInsertMark(TreeItem item, boolean before)` Display a mark indicating the point at which an item will be inserted.
`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` | `Tree.showItem(TreeItem item)` Shows the item.

Constructors in org.eclipse.swt.widgets with parameters of type TreeItem
`TreeItem(TreeItem parentItem, int style)` Constructs a new instance of this class given its parent (which must be a `Tree` or a `TreeItem`) and a style value describing its behavior and appearance.
`TreeItem(TreeItem parentItem, int style, int index)` Constructs a new instance of this class given its parent (which must be a `Tree` or a `TreeItem`), a style value describing its behavior and appearance, and the index at which to place it in the items maintained by its parent.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV NEXT | FRAMES NO FRAMES

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.