Uses of Class
org.eclipse.swt.widgets.TreeItem
-
Packages that use TreeItem Package Description org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.org.eclipse.swt.custom SWT Custom widgets.org.eclipse.swt.widgets SWT widget public API classes. -
-
Uses of TreeItem in org.eclipse.jface.viewers
Methods in org.eclipse.jface.viewers with parameters of type TreeItem Modifier and Type Method Description voidStructuredViewer.ColorAndFontCollector. applyFontsAndColors(TreeItem control)Apply the fonts and colors to the control if required.voidStructuredViewer.ColorAndFontCollectorWithProviders. applyFontsAndColors(TreeItem control) -
Uses of TreeItem in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return TreeItem Modifier and Type Method Description TreeItemTreeEditor. getItem()Returns the TreeItem for the row of the cell being tracked by this editor.TreeItemTreeCursor. getRow()Returns the row over which the TreeCursor is positioned.Methods in org.eclipse.swt.custom with parameters of type TreeItem Modifier and Type Method Description voidTreeEditor. 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.voidTreeEditor. setEditor(Control editor, TreeItem item, int column)Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above.voidTreeEditor. setItem(TreeItem item)Specifies theTreeItemthat is to be edited.voidTreeCursor. 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
Methods in org.eclipse.swt.widgets that return TreeItem Modifier and Type Method Description TreeItemTree. getItem(int index)Returns the item at the given, zero-relative index in the receiver.TreeItemTree. getItem(Point point)Returns the item at the given point in the receiver or null if no such item exists.TreeItemTreeItem. 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 ofTreeItems which are the direct item children of the receiver.TreeItemTree. getParentItem()Returns the receiver's parent item, which must be aTreeItemor null when the receiver is a root.TreeItemTreeItem. getParentItem()Returns the receiver's parent item, which must be aTreeItemor null when the receiver is a root.TreeItem[]Tree. getSelection()Returns an array ofTreeItems that are currently selected in the receiver.TreeItemTree. getTopItem()Returns the item which is currently at the top of the receiver.Methods in org.eclipse.swt.widgets with parameters of type TreeItem Modifier and Type Method Description voidTree. deselect(TreeItem item)Deselects an item in the receiver.intTree. indexOf(TreeItem item)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.intTreeItem. indexOf(TreeItem item)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.voidTree. select(TreeItem item)Selects an item in the receiver.voidTree. setInsertMark(TreeItem item, boolean before)Display a mark indicating the point at which an item will be inserted.voidTree. setSelection(TreeItem item)Sets the receiver's selection to the given item.voidTree. setSelection(TreeItem[] items)Sets the receiver's selection to be the given array of items.voidTree. setTopItem(TreeItem item)Sets the item which is currently at the top of the receiver.voidTree. showItem(TreeItem item)Shows the item.Constructors in org.eclipse.swt.widgets with parameters of type TreeItem Constructor Description TreeItem(TreeItem parentItem, int style)ConstructsTreeItemand inserts it intoTree.TreeItem(TreeItem parentItem, int style, int index)ConstructsTreeItemand inserts it intoTree.
-