Eclipse Platform
Release 3.1

Uses of Class
org.eclipse.swt.widgets.Item

Packages that use Item
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.  
org.eclipse.ui.dialogs Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.  
 

Uses of Item in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers that return Item
 Item Viewer.scrollDown(int x, int y)
          Scrolls the viewer's control down by one item from the given display-relative coordinates.
 Item Viewer.scrollUp(int x, int y)
          Scrolls the viewer's control up by one item from the given display-relative coordinates.
protected  Item[] TreeViewer.getChildren(Widget o)
           
protected  Item TreeViewer.getItem(int x, int y)
           
protected  Item[] TreeViewer.getItems(Item item)
           
protected  Item TreeViewer.getParentItem(Item item)
           
protected  Item[] TreeViewer.getSelection(Control widget)
           
protected  Item TreeViewer.newItem(Widget parent, int flags, int ix)
           
protected  Item TreeViewer.getChild(Widget widget, int index)
           
protected  Item[] TableTreeViewer.getChildren(Widget o)
           
protected  Item TableTreeViewer.getChild(Widget widget, int index)
           
protected  Item TableTreeViewer.getItem(int x, int y)
           
protected  Item[] TableTreeViewer.getItems(Item item)
           
protected  Item TableTreeViewer.getParentItem(Item item)
           
protected  Item[] TableTreeViewer.getSelection(Control widget)
           
protected  Item TableTreeViewer.newItem(Widget parent, int flags, int ix)
           
protected  Item StructuredViewer.getItem(int x, int y)
          Returns the item at the given display-relative coordinates, or null if there is no item at that location.
protected abstract  Item[] AbstractTreeViewer.getChildren(Widget widget)
          Returns the SWT child items for the given SWT widget.
protected  Item AbstractTreeViewer.getChild(Widget widget, int index)
          Get the child for the widget at index.
protected abstract  Item[] AbstractTreeViewer.getItems(Item item)
          Returns the child items of the given SWT item.
protected  Item AbstractTreeViewer.getNextItem(Item item, boolean includeChildren)
          Returns the item after the given item in the tree, or null if there is no next item.
protected abstract  Item AbstractTreeViewer.getParentItem(Item item)
          Returns the parent item of the given item in the tree, or null if there is no parent item.
protected  Item AbstractTreeViewer.getPreviousItem(Item item)
          Returns the item before the given item in the tree, or null if there is no previous item.
protected abstract  Item[] AbstractTreeViewer.getSelection(Control control)
          Returns all selected items for the given SWT control.
protected abstract  Item AbstractTreeViewer.newItem(Widget parent, int style, int index)
          Creates a new item.
 Item AbstractTreeViewer.scrollDown(int x, int y)
           
 Item AbstractTreeViewer.scrollUp(int x, int y)
           
 

Methods in org.eclipse.jface.viewers with parameters of type Item
protected  Rectangle ViewerDropAdapter.getBounds(Item item)
          Returns the bounds of the given SWT tree or table item.
protected  void TreeViewer.doUpdateItem(Item item, Object element)
           
protected  boolean TreeViewer.getExpanded(Item item)
           
protected  int TreeViewer.getItemCount(Item item)
           
protected  Item[] TreeViewer.getItems(Item item)
           
protected  Item TreeViewer.getParentItem(Item item)
           
protected  void TreeViewer.setExpanded(Item node, boolean expand)
           
protected  boolean TreeViewer.isSameSelection(List items, Item[] current)
          Returns true if the given list and array of items refer to the same model elements.
protected  void TreeViewer.showItem(Item item)
           
protected  void TableTreeViewer.doUpdateItem(Item item, Object element)
           
protected  boolean TableTreeViewer.getExpanded(Item item)
           
protected  int TableTreeViewer.getItemCount(Item item)
           
protected  Item[] TableTreeViewer.getItems(Item item)
           
protected  Item TableTreeViewer.getParentItem(Item item)
           
protected  void TableTreeViewer.setExpanded(Item node, boolean expand)
           
protected  void TableTreeViewer.showItem(Item item)
           
protected  void StructuredViewer.associate(Object element, Item item)
          Associates the given element with the given widget.
protected  void StructuredViewer.disassociate(Item item)
          Disassociates the given SWT item from its corresponding element.
protected  void AbstractTreeViewer.associate(Object element, Item item)
           
protected  void AbstractTreeViewer.disassociate(Item item)
          The AbstractTreeViewer implementation of this method also recurses over children of the corresponding element.
protected abstract  void AbstractTreeViewer.doUpdateItem(Item item, Object element)
          Copies the attributes of the given element into the given SWT item.
protected abstract  boolean AbstractTreeViewer.getExpanded(Item item)
          Returns whether the given SWT item is expanded or collapsed.
protected abstract  int AbstractTreeViewer.getItemCount(Item item)
          Returns the number of child items of the given SWT item.
protected abstract  Item[] AbstractTreeViewer.getItems(Item item)
          Returns the child items of the given SWT item.
protected  Item AbstractTreeViewer.getNextItem(Item item, boolean includeChildren)
          Returns the item after the given item in the tree, or null if there is no next item.
protected abstract  Item AbstractTreeViewer.getParentItem(Item item)
          Returns the parent item of the given item in the tree, or null if there is no parent item.
protected  Item AbstractTreeViewer.getPreviousItem(Item item)
          Returns the item before the given item in the tree, or null if there is no previous item.
protected abstract  void AbstractTreeViewer.setExpanded(Item item, boolean expand)
          Sets the expand state of the given item.
protected abstract  void AbstractTreeViewer.showItem(Item item)
          Shows the given item.
protected  void AbstractTreeViewer.updatePlus(Item item, Object element)
          Updates the "+"/"-" icon of the tree node from the given element.
 

Uses of Item in org.eclipse.swt.custom
 

Subclasses of Item in org.eclipse.swt.custom
 class CTabItem
          Instances of this class represent a selectable user interface object that represent a page in a notebook widget.
 class TableTreeItem
          Deprecated. As of 3.1 use Tree, TreeItem and TreeColumn
 

Uses of Item in org.eclipse.swt.widgets
 

Subclasses of Item in org.eclipse.swt.widgets
 class CoolItem
          Instances of this class are selectable user interface objects that represent the dynamically positionable areas of a CoolBar.
 class MenuItem
          Instances of this class represent a selectable user interface object that issues notification when pressed and released.
 class TabItem
          Instances of this class represent a selectable user interface object corresponding to a tab for a page in a tab folder.
 class TableColumn
          Instances of this class represent a column in a table widget.
 class TableItem
          Instances of this class represent a selectable user interface object that represents an item in a table.
 class ToolItem
          Instances of this class represent a selectable user interface object that represents a button in a tool bar.
 class TrayItem
          Instances of this class represent icons that can be placed on the system tray or task bar status area.
 class TreeColumn
          Instances of this class represent a column in a tree widget.
 class TreeItem
          Instances of this class represent a selectable user interface object that represents a hierarchy of tree items in a tree widget.
 

Uses of Item in org.eclipse.ui.dialogs
 

Methods in org.eclipse.ui.dialogs with parameters of type Item
protected  void ContainerCheckedTreeViewer.setExpanded(Item item, boolean expand)
           
 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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