Eclipse Platform
Release 3.3

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

Packages that use Widget
org.eclipse.compare Provides support for performing structural and textual compare operations on arbitrary data and displaying the results.  
org.eclipse.compare.structuremergeviewer Provides support for finding and displaying the differences between hierarchically structured data.  
org.eclipse.jface.databinding.swt Provides classes that can be used to observe changes in SWT widgets.  
org.eclipse.jface.dialogs Provides support for dialogs.  
org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets.  
org.eclipse.jface.wizard Provides a framework for wizards.  
org.eclipse.swt.browser SWT Browser widget.  
org.eclipse.swt.custom SWT Custom widgets.  
org.eclipse.swt.dnd SWT Drag and Drop support.  
org.eclipse.swt.events SWT typed listener support.  
org.eclipse.swt.ole.win32 SWT Win32 OLE implementation classes.  
org.eclipse.swt.opengl SWT OpenGL support.  
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.  
org.eclipse.ui.forms.events Events and listeners for forms-based parts.  
org.eclipse.ui.forms.widgets Custom widgets and controls for forms-based parts.  
org.eclipse.ui.navigator Provides the Common Navigator framework.  
org.eclipse.ui.part Classes for the creation of workbench parts that integrate with the Eclipse Platform User Interface.  
 

Uses of Widget in org.eclipse.compare
 

Subclasses of Widget in org.eclipse.compare
 class CompareViewerPane
          A CompareViewerPane is a convenience class which installs a CLabel and a Toolbar in a ViewForm.
 class CompareViewerSwitchingPane
          A custom CompareViewerPane that supports dynamic viewer switching.
 class Splitter
          The Splitter adds support for nesting to a SashForm.
 

Uses of Widget in org.eclipse.compare.structuremergeviewer
 

Methods in org.eclipse.compare.structuremergeviewer with parameters of type Widget
protected  void DiffTreeViewer.internalExpandToLevel(Widget node, int level)
          Overridden to avoid expanding DiffNodes that shouldn't expand.
 

Uses of Widget in org.eclipse.jface.databinding.swt
 

Methods in org.eclipse.jface.databinding.swt that return Widget
 Widget ISWTObservable.getWidget()
          Returns the widget of this observable
 

Uses of Widget in org.eclipse.jface.dialogs
 

Subclasses of Widget in org.eclipse.jface.dialogs
 class ImageAndMessageArea
          Deprecated. As of 3.3, this class is no longer necessary.
 class ProgressIndicator
          A control for showing progress feedback for a long running operation.
 

Uses of Widget in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers that return Widget
abstract  Widget ViewerRow.getItem()
          Return the item for the receiver.
 Widget ViewerCell.getItem()
          Return the item for the receiver.
 Widget TreeViewerRow.getItem()
           
protected  Widget TreeViewer.getColumnViewerOwner(int columnIndex)
           
 Widget TableViewerRow.getItem()
           
protected  Widget TableViewer.doGetColumn(int index)
           
protected abstract  Widget StructuredViewer.doFindInputItem(Object element)
          Returns the widget in this viewer's control which represents the given element if it is the viewer's input.
protected abstract  Widget StructuredViewer.doFindItem(Object element)
          Returns the widget in this viewer's control which represent the given element.
protected  Widget StructuredViewer.findItem(Object element)
          Finds the widget which represents the given element.
protected  Widget[] StructuredViewer.findItems(Object element)
          Finds the widgets which represent the given element.
 Widget StructuredViewer.testFindItem(Object element)
          Hook for testing.
 Widget[] StructuredViewer.testFindItems(Object element)
          Hook for testing.
protected abstract  Widget ColumnViewer.getColumnViewerOwner(int columnIndex)
          Returns the column widget at the given column index.
protected  Widget[] AbstractTreeViewer.internalFindItems(Object parentElementOrTreePath)
          Find the items for the given element of tree path
protected  Widget AbstractTreeViewer.doFindInputItem(Object element)
           
protected  Widget AbstractTreeViewer.doFindItem(Object element)
           
protected  Widget AbstractTreeViewer.internalExpand(Object elementOrPath, boolean expand)
          Tries to create a path of tree items for the given element or tree path.
protected  Widget AbstractTreeViewer.internalGetWidgetToSelect(Object elementOrTreePath)
          Returns the widget to be selected for the given element or tree path.
protected  Widget AbstractTreeViewer.getColumnViewerOwner(int columnIndex)
           
protected  Widget AbstractTableViewer.doFindInputItem(Object element)
           
protected  Widget AbstractTableViewer.doFindItem(Object element)
           
protected  Widget AbstractTableViewer.getColumnViewerOwner(int columnIndex)
           
protected abstract  Widget AbstractTableViewer.doGetColumn(int index)
          Returns the column at the given, zero-relative index in the receiver.
protected  Widget AbstractListViewer.doFindInputItem(Object element)
           
protected  Widget AbstractListViewer.doFindItem(Object element)
           
 

Methods in org.eclipse.jface.viewers with parameters of type Widget
protected  Item[] TreeViewer.getChildren(Widget o)
           
protected  Item TreeViewer.newItem(Widget parent, int flags, int ix)
           
protected  Item TreeViewer.getChild(Widget widget, int index)
           
protected  void TreeViewer.createChildren(Widget widget)
           
protected  void TreeViewer.internalAdd(Widget widget, Object parentElement, Object[] childElements)
           
protected  void TreeViewer.internalRefreshStruct(Widget widget, Object element, boolean updateLabels)
           
protected  void TreeViewer.mapElement(Object element, Widget item)
           
protected  ViewerRow TreeViewer.getViewerRowFromItem(Widget item)
           
protected  ViewerRow TableViewer.getViewerRowFromItem(Widget item)
           
protected  Item[] TableTreeViewer.getChildren(Widget o)
          Deprecated.  
protected  Item TableTreeViewer.getChild(Widget widget, int index)
          Deprecated.  
protected  Item TableTreeViewer.newItem(Widget parent, int flags, int ix)
          Deprecated.  
protected abstract  void StructuredViewer.doUpdateItem(Widget item, Object element, boolean fullMap)
          Copies the attributes of the given element into the given SWT item.
protected  void StructuredViewer.mapElement(Object element, Widget item)
          Adds the element item pair to the element map.
protected  void StructuredViewer.refreshItem(Widget widget, Object element)
          Refreshes the given TableItem with the given element.
protected  void StructuredViewer.unmapElement(Object element, Widget item)
          Removes the given association from the internal element to widget map.
protected  void StructuredViewer.internalUpdate(Widget widget, Object element, String[] properties)
          Updates the given element's presentation when one or more of its properties changes.
protected  void StructuredViewer.updateItem(Widget widget, Object element)
          Copies attributes of the given element into the given widget.
protected abstract  ViewerRow ColumnViewer.getViewerRowFromItem(Widget item)
          Returns a ViewerRow associated with the given row widget.
protected  void AbstractTreeViewer.internalAdd(Widget widget, Object parentElementOrTreePath, Object[] childElements)
          Adds the given child elements to this viewer as children of the given parent element.
protected  int AbstractTreeViewer.indexForElement(Widget parent, Object element)
          Returns the index where the item should be inserted.
protected  void AbstractTreeViewer.createChildren(Widget widget)
          Creates all children for the given widget.
protected  void AbstractTreeViewer.createTreeItem(Widget parent, Object element, int index)
          Creates a single item for the given parent and synchronizes it with the given element.
protected  void AbstractTreeViewer.doUpdateItem(Widget widget, Object element, boolean fullMap)
           
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  void AbstractTreeViewer.internalCollapseToLevel(Widget widget, int level)
          Recursively collapses the subtree rooted at the given widget to the given level.
protected  void AbstractTreeViewer.internalExpandToLevel(Widget widget, int level)
          Recursively expands the subtree rooted at the given widget to the given level.
protected  void AbstractTreeViewer.internalRefresh(Widget widget, Object element, boolean doStruct, boolean updateLabels)
          Refreshes the tree starting at the given widget.
protected abstract  Item AbstractTreeViewer.newItem(Widget parent, int style, int index)
          Creates a new item.
protected  void AbstractTreeViewer.updateChildren(Widget widget, Object parent, Object[] elementChildren)
          Deprecated. this is no longer called by the framework
protected  ViewerRow AbstractTreeViewer.getViewerRowFromItem(Widget item)
           
protected  void AbstractTableViewer.doUpdateItem(Widget widget, Object element, boolean fullMap)
           
protected  void AbstractListViewer.doUpdateItem(Widget data, Object element, boolean fullMap)
           
 

Constructors in org.eclipse.jface.viewers with parameters of type Widget
ViewerColumn(ColumnViewer viewer, Widget columnOwner)
          Create a new instance of the receiver at columnIndex.
 

Uses of Widget in org.eclipse.jface.wizard
 

Subclasses of Widget in org.eclipse.jface.wizard
 class ProgressMonitorPart
          A standard implementation of an IProgressMonitor.
 

Uses of Widget in org.eclipse.swt.browser
 

Subclasses of Widget in org.eclipse.swt.browser
 class Browser
          Instances of this class implement the browser user interface metaphor.
 

Uses of Widget in org.eclipse.swt.custom
 

Subclasses of Widget in org.eclipse.swt.custom
 class AnimatedProgress
          Deprecated. As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE
Styles:
VERTICAL, HORIZONTAL, BORDER
 class CBanner
          Instances of this class implement a Composite that lays out its children and allows programmatic control of the layout.
 class CCombo
          The CCombo class represents a selectable user interface object that combines a text field and a list and issues notification when an item is selected from the list.
 class CLabel
          A Label which supports aligned text and/or an image and different border styles.
 class CTabFolder
          Instances of this class implement the notebook user interface metaphor.
 class CTabItem
          Instances of this class represent a selectable user interface object that represent a page in a notebook widget.
 class SashForm
          The SashForm is a composite control that lays out its children in a row or column arrangement (as specified by the orientation) and places a Sash between each child.
 class ScrolledComposite
          A ScrolledComposite provides scrollbars and will scroll its content when the user uses the scrollbars.
 class StyledText
          A StyledText is an editable user interface object that displays lines of text.
 class TableCursor
          A TableCursor provides a way for the user to navigate around a Table using the keyboard.
 class TableTree
          Deprecated. As of 3.1 use Tree, TreeItem and TreeColumn
 class TableTreeItem
          Deprecated. As of 3.1 use Tree, TreeItem and TreeColumn
 class ViewForm
          Instances of this class implement a Composite that positions and sizes children and allows programmatic control of layout and border parameters.
 

Fields in org.eclipse.swt.custom declared as Widget
 Widget CTabFolderEvent.item
          The tab item for the operation.
 

Uses of Widget in org.eclipse.swt.dnd
 

Subclasses of Widget in org.eclipse.swt.dnd
 class DragSource
          DragSource defines the source object for a drag and drop transfer.
 class DropTarget
          Class DropTarget defines the target object for a drag and drop transfer.
 

Fields in org.eclipse.swt.dnd declared as Widget
 Widget DropTargetEvent.item
          If the associated control is a table or tree, this field contains the item located at the cursor coordinates.
 

Methods in org.eclipse.swt.dnd that return Widget
 Widget DropTargetEffect.getItem(int x, int y)
          Returns the item at the given x-y coordinate in the receiver or null if no such item exists.
 

Uses of Widget in org.eclipse.swt.events
 

Fields in org.eclipse.swt.events declared as Widget
 Widget TypedEvent.widget
          the widget that issued the event
 Widget SelectionEvent.item
          The item that was selected.
 

Uses of Widget in org.eclipse.swt.ole.win32
 

Subclasses of Widget in org.eclipse.swt.ole.win32
 class OleClientSite
          OleClientSite provides a site to manage an embedded OLE Document within a container.
 class OleControlSite
          OleControlSite provides a site to manage an embedded ActiveX Control within a container.
 class OleFrame
          OleFrame is an OLE Container's top level frame.
 

Fields in org.eclipse.swt.ole.win32 declared as Widget
 Widget OleEvent.widget
           
 

Uses of Widget in org.eclipse.swt.opengl
 

Subclasses of Widget in org.eclipse.swt.opengl
 class GLCanvas
          GLCanvas is a widget capable of displaying OpenGL content.
 

Uses of Widget in org.eclipse.swt.widgets
 

Subclasses of Widget in org.eclipse.swt.widgets
 class Button
          Instances of this class represent a selectable user interface object that issues notification when pressed and released.
 class Canvas
          Instances of this class provide a surface for drawing arbitrary graphics.
 class Caret
          Instances of this class provide an i-beam that is typically used as the insertion point for text.
 class Combo
          Instances of this class are controls that allow the user to choose an item from a list of items, or optionally enter a new value by typing it into an editable text field.
 class Composite
          Instances of this class are controls which are capable of containing other controls.
 class Control
          Control is the abstract superclass of all windowed user interface classes.
 class CoolBar
          Instances of this class provide an area for dynamically positioning the items they contain.
 class CoolItem
          Instances of this class are selectable user interface objects that represent the dynamically positionable areas of a CoolBar.
 class DateTime
          Instances of this class are selectable user interface objects that allow the user to enter and modify date or time values.
 class Decorations
          Instances of this class provide the appearance and behavior of Shells, but are not top level shells or dialogs.
 class ExpandBar
          Instances of this class support the layout of selectable expand bar items.
 class ExpandItem
          Instances of this class represent a selectable user interface object that represents a expandable item in a expand bar.
 class Group
          Instances of this class provide an etched border with an optional title.
 class Item
          This class is the abstract superclass of all non-windowed user interface objects that occur within specific controls.
 class Label
          Instances of this class represent a non-selectable user interface object that displays a string or image.
 class Link
          Instances of this class represent a selectable user interface object that displays a text with links.
 class List
          Instances of this class represent a selectable user interface object that displays a list of strings and issues notification when a string is selected.
 class Menu
          Instances of this class are user interface objects that contain menu items.
 class MenuItem
          Instances of this class represent a selectable user interface object that issues notification when pressed and released.
 class ProgressBar
          Instances of the receiver represent an unselectable user interface object that is used to display progress, typically in the form of a bar.
 class Sash
          Instances of the receiver represent a selectable user interface object that allows the user to drag a rubber banded outline of the sash within the parent control.
 class Scale
          Instances of the receiver represent a selectable user interface object that present a range of continuous numeric values.
 class Scrollable
          This class is the abstract superclass of all classes which represent controls that have standard scroll bars.
 class ScrollBar
          Instances of this class are selectable user interface objects that represent a range of positive, numeric values.
 class Shell
          Instances of this class represent the "windows" which the desktop or "window manager" is managing.
 class Slider
          Instances of this class are selectable user interface objects that represent a range of positive, numeric values.
 class Spinner
          Instances of this class are selectable user interface objects that allow the user to enter and modify numeric values.
 class TabFolder
          Instances of this class implement the notebook user interface metaphor.
 class TabItem
          Instances of this class represent a selectable user interface object corresponding to a tab for a page in a tab folder.
 class Table
          Instances of this class implement a selectable user interface object that displays a list of images and strings and issues notification when selected.
 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 Text
          Instances of this class are selectable user interface objects that allow the user to enter and modify text.
 class ToolBar
          Instances of this class support the layout of selectable tool bar items.
 class ToolItem
          Instances of this class represent a selectable user interface object that represents a button in a tool bar.
 class ToolTip
          Instances of this class represent popup windows that are used to inform or warn the user.
 class Tracker
          Instances of this class implement rubber banding rectangles that are drawn onto a parent Composite or Display.
 class Tray
          Instances of this class represent the system tray that is part of the task bar status area on some operating systems.
 class TrayItem
          Instances of this class represent icons that can be placed on the system tray or task bar status area.
 class Tree
          Instances of this class provide a selectable user interface object that displays a hierarchy of items and issues notification when an item in the hierarchy is selected.
 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.
 

Fields in org.eclipse.swt.widgets declared as Widget
 Widget Event.widget
          the widget that issued the event
 Widget Event.item
          the item that the event occurred in (can be null)
 

Methods in org.eclipse.swt.widgets that return Widget
 Widget Display.findWidget(int handle)
          Given the operating system handle for a widget, returns the instance of the Widget subclass which represents it in the currently running application, if such exists, or null if no matching widget can be found.
 Widget Display.findWidget(int handle, int id)
          Given the operating system handle for a widget, and widget-specific id, returns the instance of the Widget subclass which represents the handle/id pair in the currently running application, if such exists, or null if no matching widget can be found.
 Widget Display.findWidget(Widget widget, int id)
          Given a widget and a widget-specific id, returns the instance of the Widget subclass which represents the widget/id pair in the currently running application, if such exists, or null if no matching widget can be found.
 

Methods in org.eclipse.swt.widgets with parameters of type Widget
 Widget Display.findWidget(Widget widget, int id)
          Given a widget and a widget-specific id, returns the instance of the Widget subclass which represents the widget/id pair in the currently running application, if such exists, or null if no matching widget can be found.
 

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

Uses of Widget in org.eclipse.ui.dialogs
 

Subclasses of Widget in org.eclipse.ui.dialogs
 class FilteredList
          A composite widget which holds a list of elements for user selection.
 class FilteredTree
          A simple control that provides a text widget and a tree viewer.
 

Uses of Widget in org.eclipse.ui.forms.events
 

Constructors in org.eclipse.ui.forms.events with parameters of type Widget
HyperlinkEvent(Widget widget, Object href, String label, int stateMask)
          Creates a new hyperlink
 

Uses of Widget in org.eclipse.ui.forms.widgets
 

Subclasses of Widget in org.eclipse.ui.forms.widgets
 class AbstractHyperlink
          This is the base class for custom hyperlink widget.
 class ExpandableComposite
          This composite is capable of expanding or collapsing a single client that is its direct child.
 class Form
          Form is a custom control that renders a title and an optional background image above the body composite.
 class FormText
          This class is a read-only text control that is capable of rendering wrapped text.
 class Hyperlink
          Hyperlink is a concrete implementation of the abstract base class that draws text in the client area.
 class ImageHyperlink
          This class extends hyperlink widget by adding the capability to render an image relative to the text.
 class ScrolledForm
          ScrolledForm is a control that is capable of scrolling an instance of the Form class.
 class ScrolledFormText
          ScrolledFormText is a control that is capable of scrolling an instance of the FormText class.
 class ScrolledPageBook
          ScrolledPageBook is a class that is capable of stacking several composites (pages), while showing one at a time.
 class Section
          A variation of the expandable composite that adds optional description below the title.
 class SharedScrolledComposite
          This class is used to provide common scrolling services to a number of controls in the toolkit.
 class ToggleHyperlink
          A custom selectable control that can be used to control areas that can be expanded or collapsed.
 class TreeNode
          A custom selectable control that can be used to control areas that can be expanded or collapsed.
 class Twistie
          A custom selectable control that can be used to control areas that can be expanded or collapsed.
 

Uses of Widget in org.eclipse.ui.navigator
 

Methods in org.eclipse.ui.navigator with parameters of type Widget
protected  void CommonViewer.createTreeItem(Widget parent, Object element, int index)
           
 

Uses of Widget in org.eclipse.ui.part
 

Subclasses of Widget in org.eclipse.ui.part
 class DrillDownComposite
          Class DrillDownComposite implements a simple web style navigation metaphor.
 class PageBook
          A pagebook is a composite control where only a single control is visible at a time.
 


Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

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