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

Packages that use Widget
Package
Description
Provides support for performing structural and textual compare operations on arbitrary data and displaying the results.
Provides support for finding and displaying the differences between hierarchically structured data.
Provides support for shared UI resources such as menus, tool bars, and status lines.
Provides classes that can be used to observe changes in SWT widgets.
Provides support for dialogs.
Provides support for layout generation.
Provides useful building blocks used throughout JFace, including property change events, a listener list implementation, and runtime checked assertions.
Provides a framework for viewers, which are model-based content adapters for SWT widgets.
Provides a framework for wizards.
SWT Browser widget.
SWT Custom widgets.
SWT Drag and Drop support.
SWT typed listener support.
SWT Win32 OLE implementation classes.
SWT OpenGL support.
SWT widget public API classes.
Classes for standard dialogs, wizards, and preference pages in the Eclipse Platform User Interface.
Events and listeners for forms-based parts.
Custom widgets and controls for forms-based parts.
Provides the Common Navigator framework.
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
    Modifier and Type
    Class
    Description
    class 
    A CompareViewerPane is a convenience class which installs a CLabel and a Toolbar in a ViewForm.
    class 
    A custom CompareViewerPane that supports dynamic viewer switching.
    class 
    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
    Modifier and Type
    Method
    Description
    protected void
    DiffTreeViewer.internalExpandToLevel(Widget node, int level)
    Overridden to avoid expanding DiffNodes that shouldn't expand.
  • Uses of Widget in org.eclipse.jface.action

    Methods in org.eclipse.jface.action that return Widget
    Modifier and Type
    Method
    Description
    ActionContributionItem.getWidget()
    Return the widget associated with this contribution item.
  • Uses of Widget in org.eclipse.jface.databinding.swt

    Classes in org.eclipse.jface.databinding.swt with type parameters of type Widget
    Modifier and Type
    Interface
    Description
    interface 
    IListProperty for observing an SWT Widget
    interface 
    IValueProperty for observing an SWT Widget
    class 
    Abstract list property implementation for Widget properties.
    class 
    Abstract value property implementation for Widget properties.
    Modifier and Type
    Method
    Description
    ISWTObservable.getWidget()
    Returns the widget of this observable
    Methods in org.eclipse.jface.databinding.swt with parameters of type Widget
    Modifier and Type
    Method
    Description
    static org.eclipse.core.databinding.observable.sideeffect.ISideEffectFactory
    WidgetSideEffects.createFactory(Widget disposableWidget)
    Creates an ISideEffectFactory which will dispose all created ISideEffect instances automatically in case the given Widget is disposed.
    WidgetValueProperty.wrapObservable(IObservableValue<T> observable, Widget widget)
     
  • Uses of Widget in org.eclipse.jface.dialogs

    Modifier and Type
    Class
    Description
    class 
    A message line displaying a status.
    class 
    A control for showing progress feedback for a long running operation.
  • Uses of Widget in org.eclipse.jface.layout

    Methods in org.eclipse.jface.layout with parameters of type Widget
    Modifier and Type
    Method
    Description
    void
    AbstractColumnLayout.setColumnData(Widget column, ColumnLayoutData data)
    Adds a new column of data to this table layout.
    protected abstract void
    AbstractColumnLayout.updateColumnData(Widget column)
    Update the layout data for a column
    protected void
    TableColumnLayout.updateColumnData(Widget column)
     
    protected void
    TreeColumnLayout.updateColumnData(Widget column)
    Update the layout data for a column
  • Uses of Widget in org.eclipse.jface.util

    Methods in org.eclipse.jface.util with parameters of type Widget
    Modifier and Type
    Method
    Description
    static boolean
    Util.isValid(Widget widget)
    Helper method to check if a widget is not null and not disposed
  • Uses of Widget in org.eclipse.jface.viewers

    Methods in org.eclipse.jface.viewers that return Widget
    Modifier and Type
    Method
    Description
    protected Widget
    AbstractListViewer.doFindInputItem(Object element)
     
    protected Widget
    AbstractTableViewer.doFindInputItem(Object element)
     
    protected Widget
    AbstractTreeViewer.doFindInputItem(Object element)
     
    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 Widget
    AbstractListViewer.doFindItem(Object element)
     
    protected Widget
    AbstractTableViewer.doFindItem(Object element)
     
    protected Widget
    AbstractTreeViewer.doFindItem(Object element)
     
    protected abstract Widget
    StructuredViewer.doFindItem(Object element)
    Returns the widget in this viewer's control which represent the given element.
    protected Widget
    TableViewer.doFindItem(Object element)
     
    protected abstract Widget
    AbstractTableViewer.doGetColumn(int index)
    Returns the column at the given, zero-relative index in the receiver.
    protected Widget
    TableViewer.doGetColumn(int index)
     
    protected final Widget
    StructuredViewer.findItem(Object element)
    Finds the widget which represents the given element.
    protected final Widget[]
    StructuredViewer.findItems(Object element)
    Finds the widgets which represent the given element.
    protected Widget
    AbstractTableViewer.getColumnViewerOwner(int columnIndex)
     
    protected Widget
    AbstractTreeViewer.getColumnViewerOwner(int columnIndex)
     
    protected abstract Widget
    ColumnViewer.getColumnViewerOwner(int columnIndex)
    Returns the column widget at the given column index.
    protected Widget
    TreeViewer.getColumnViewerOwner(int columnIndex)
     
    TableViewerRow.getItem()
     
    TreeViewerRow.getItem()
     
    ViewerCell.getItem()
    Return the item for the receiver.
    abstract Widget
    ViewerRow.getItem()
    Return the item for the receiver.
    protected static Widget[]
    StructuredViewerInternals.getItems(StructuredViewer viewer, Object element)
    Nothing to see here.
    protected Widget
    AbstractTreeViewer.internalExpand(Object elementOrPath, boolean expand)
    Tries to create a path of tree items for the given element or tree path.
    protected final Widget[]
    AbstractTreeViewer.internalFindItems(Object parentElementOrTreePath)
    Find the items for the given element of tree path
    protected Widget
    AbstractTreeViewer.internalGetWidgetToSelect(Object elementOrTreePath)
    Returns the widget to be selected for the given element or tree path.
    StructuredViewer.testFindItem(Object element)
    Hook for testing.
    StructuredViewer.testFindItems(Object element)
    Hook for testing.
    Methods in org.eclipse.jface.viewers with parameters of type Widget
    Modifier and Type
    Method
    Description
    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
    AbstractListViewer.doUpdateItem(Widget data, Object element, boolean fullMap)
     
    protected void
    AbstractTableViewer.doUpdateItem(Widget widget, Object element, boolean fullMap)
     
    protected void
    AbstractTreeViewer.doUpdateItem(Widget widget, Object element, boolean fullMap)
     
    protected void
    CheckboxTableViewer.doUpdateItem(Widget widget, Object element, boolean fullMap)
     
    protected abstract void
    StructuredViewer.doUpdateItem(Widget item, Object element, boolean fullMap)
    Copies the attributes of the given element into the given SWT item.
    protected Item
    AbstractTreeViewer.getChild(Widget widget, int index)
    Get the child for the widget at index.
    protected Item
    TreeViewer.getChild(Widget widget, int index)
     
    protected abstract Item[]
    AbstractTreeViewer.getChildren(Widget widget)
    Returns the SWT child items for the given SWT widget.
    AbstractTreeViewer.getChildren(Widget widget, Object[] elementChildren)
    Deprecated.
    This method was inadvertently released as API but is not intended to be called by clients.
    protected Item[]
    TreeViewer.getChildren(Widget o)
     
    protected ViewerRow
    AbstractTreeViewer.getViewerRowFromItem(Widget item)
     
    protected abstract ViewerRow
    ColumnViewer.getViewerRowFromItem(Widget item)
    Returns a ViewerRow associated with the given row widget.
    protected ViewerRow
    TableViewer.getViewerRowFromItem(Widget item)
     
    protected ViewerRow
    TreeViewer.getViewerRowFromItem(Widget item)
     
    protected int
    AbstractTreeViewer.indexForElement(Widget parent, Object element)
    Returns the index where the item should be inserted.
    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 void
    TreeViewer.internalAdd(Widget widget, Object parentElement, Object[] childElements)
     
    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 void
    TreeViewer.internalRefreshStruct(Widget widget, Object element, boolean updateLabels)
     
    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.mapElement(Object element, Widget item)
    Adds the element item pair to the element map.
    protected void
    TreeViewer.mapElement(Object element, Widget item)
     
    protected abstract Item
    AbstractTreeViewer.newItem(Widget parent, int style, int index)
    Creates a new item.
    protected Item
    TreeViewer.newItem(Widget parent, int flags, int ix)
     
    protected final void
    StructuredViewer.refreshItem(Widget widget, Object element)
    Refreshes the given item 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
    AbstractTreeViewer.updateChildren(Widget widget, Object parent, Object[] elementChildren)
    Deprecated.
    this is no longer called by the framework
    protected final void
    StructuredViewer.updateItem(Widget widget, Object element)
    Copies attributes of the given element into the given widget.
    Constructors in org.eclipse.jface.viewers with parameters of type Widget
    Modifier
    Constructor
    Description
    protected
    ViewerColumn(ColumnViewer viewer, Widget columnOwner)
    Create a new instance of the receiver at columnIndex.
  • Uses of Widget in org.eclipse.jface.wizard

    Modifier and Type
    Class
    Description
    class 
    A standard implementation of an IProgressMonitor.
  • Uses of Widget in org.eclipse.swt.browser

    Modifier and Type
    Class
    Description
    class 
    Instances of this class implement the browser user interface metaphor.
    Constructors in org.eclipse.swt.browser with parameters of type Widget
    Modifier
    Constructor
    Description
     
    Constructs a new instance of this class.
     
    Constructs a new instance of this class.
     
    Constructs a new instance of this class.
     
    Constructs a new instance of this class.
     
    Constructs a new instance of this class.
     
    Constructs a new instance of this class.
  • Uses of Widget in org.eclipse.swt.custom

    Modifier and Type
    Class
    Description
    class 
    Deprecated.
    As of Eclipse 2.1, use ProgressBar with the style SWT.INDETERMINATE Styles:VERTICAL, HORIZONTAL, BORDER
    class 
    Instances of this class implement a Composite that lays out its children and allows programmatic control of the layout.
    class 
    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 
    A Label which supports aligned text and/or an image and different border styles.
    class 
    Instances of this class implement the notebook user interface metaphor.
    class 
    Instances of this class represent a selectable user interface object that represent a page in a notebook widget.
    class 
    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 
    A ScrolledComposite provides scrollbars and will scroll its content when the user uses the scrollbars.
    class 
    A StyledText is an editable user interface object that displays lines of text.
    class 
    A TableCursor provides a way for the user to navigate around a Table using the keyboard.
    class 
    A TreeCursor provides a way for the user to navigate around a Tree with columns using the keyboard.
    class 
    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
    Modifier and Type
    Field
    Description
    CTabFolderEvent.item
    The tab item for the operation.
  • Uses of Widget in org.eclipse.swt.dnd

    Subclasses of Widget in org.eclipse.swt.dnd
    Modifier and Type
    Class
    Description
    class 
    DragSource defines the source object for a drag and drop transfer.
    class 
    Class DropTarget defines the target object for a drag and drop transfer.
    Fields in org.eclipse.swt.dnd declared as Widget
    Modifier and Type
    Field
    Description
    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
    Modifier and Type
    Method
    Description
    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
    Modifier and Type
    Field
    Description
    SelectionEvent.item
    The item that was selected.
    TypedEvent.widget
    the widget that issued the event
  • Uses of Widget in org.eclipse.swt.ole.win32

    Modifier and Type
    Class
    Description
    class 
    OleClientSite provides a site to manage an embedded OLE Document within a container.
    class 
    OleControlSite provides a site to manage an embedded ActiveX Control within a container.
    final class 
    OleFrame is an OLE Container's top level frame.
    Fields in org.eclipse.swt.ole.win32 declared as Widget
    Modifier and Type
    Field
    Description
    OleEvent.widget
     
  • Uses of Widget in org.eclipse.swt.opengl

    Modifier and Type
    Class
    Description
    class 
    GLCanvas is a widget capable of displaying OpenGL content.
  • Uses of Widget in org.eclipse.swt.widgets

    Modifier and Type
    Class
    Description
    class 
    Instances of this class represent a selectable user interface object that issues notification when pressed and released.
    class 
    Instances of this class provide a surface for drawing arbitrary graphics.
    class 
    Instances of this class provide an i-beam that is typically used as the insertion point for text.
    class 
    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 
    Instances of this class are controls which are capable of containing other controls.
    class 
    Control is the abstract superclass of all windowed user interface classes.
    class 
    Instances of this class provide an area for dynamically positioning the items they contain.
    class 
    Instances of this class are selectable user interface objects that represent the dynamically positionable areas of a CoolBar.
    class 
    Instances of this class are selectable user interface objects that allow the user to enter and modify date or time values.
    class 
    Instances of this class provide the appearance and behavior of Shells, but are not top level shells or dialogs.
    class 
    Instances of this class support the layout of selectable expand bar items.
    class 
    Instances of this class represent a selectable user interface object that represents a expandable item in a expand bar.
    class 
    Instances of this class provide an etched border with an optional title.
    class 
    Instances of this class represent input method editors.
    class 
    This class is the abstract superclass of all non-windowed user interface objects that occur within specific controls.
    class 
    Instances of this class represent a non-selectable user interface object that displays a string or image.
    class 
    Instances of this class represent a selectable user interface object that displays a text with links.
    class 
    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 
    Instances of this class are user interface objects that contain menu items.
    class 
    Instances of this class represent a selectable user interface object that issues notification when pressed and released.
    class 
    Instances of the receiver represent an unselectable user interface object that is used to display progress, typically in the form of a bar.
    class 
    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 
    Instances of the receiver represent a selectable user interface object that present a range of continuous numeric values.
    class 
    This class is the abstract superclass of all classes which represent controls that have standard scroll bars.
    class 
    Instances of this class are selectable user interface objects that represent a range of positive, numeric values.
    class 
    Instances of this class represent the "windows" which the desktop or "window manager" is managing.
    class 
    Instances of this class are selectable user interface objects that represent a range of positive, numeric values.
    class 
    Instances of this class are selectable user interface objects that allow the user to enter and modify numeric values.
    class 
    Instances of this class implement the notebook user interface metaphor.
    class 
    Instances of this class represent a selectable user interface object corresponding to a tab for a page in a tab folder.
    class 
    Instances of this class implement a selectable user interface object that displays a list of images and strings and issues notification when selected.
    class 
    Instances of this class represent a column in a table widget.
    class 
    Instances of this class represent a selectable user interface object that represents an item in a table.
    class 
    Instances of this class represent the system task bar.
    class 
    Instances of this class represent a task item.
    class 
    Instances of this class are selectable user interface objects that allow the user to enter and modify text.
    class 
    Instances of this class support the layout of selectable tool bar items.
    class 
    Instances of this class represent a selectable user interface object that represents a button in a tool bar.
    class 
    Instances of this class represent popup windows that are used to inform or warn the user.
    class 
    Instances of this class implement rubber banding rectangles that are drawn onto a parent Composite or Display.
    class 
    Instances of this class represent the system tray that is part of the task bar status area on some operating systems.
    class 
    Instances of this class represent icons that can be placed on the system tray or task bar status area.
    class 
    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 
    Instances of this class represent a column in a tree widget.
    class 
    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
    Modifier and Type
    Field
    Description
    Event.item
    the item that the event occurred in (can be null)
    Event.widget
    the widget that issued the event
    Methods in org.eclipse.swt.widgets that return Widget
    Modifier and Type
    Method
    Description
    Display.findWidget(long 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.
    Display.findWidget(long handle, long 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.
    Display.findWidget(Widget widget, long 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
    Modifier and Type
    Method
    Description
    Display.findWidget(Widget widget, long 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
    Modifier
    Constructor
    Description
     
    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

    Modifier and Type
    Class
    Description
    class 
    A composite widget which holds a list of elements for user selection.
    class 
    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
    Modifier
    Constructor
    Description
     
    HyperlinkEvent(Widget widget, Object href, String label, int stateMask)
    Creates a new hyperlink
  • Uses of Widget in org.eclipse.ui.forms.widgets

    Modifier and Type
    Class
    Description
    class 
    This is the base class for custom hyperlink widget.
    class 
    This composite is capable of expanding or collapsing a single client that is its direct child.
    class 
    Form is a custom control that renders a title and an optional background image above the body composite.
    class 
    This class is a read-only text control that is capable of rendering wrapped text.
    class 
    Hyperlink is a concrete implementation of the abstract base class that draws text in the client area.
    class 
    This class extends hyperlink widget by adding the capability to render an image relative to the text.
    class 
    ScrolledForm is a control that is capable of scrolling an instance of the Form class.
    class 
    ScrolledFormText is a control that is capable of scrolling an instance of the FormText class.
    class 
    ScrolledPageBook is a class that is capable of stacking several composites (pages), while showing one at a time.
    class 
    A variation of the expandable composite that adds optional description below the title.
    class 
    This class is used to provide common scrolling services to a number of controls in the toolkit.
    class 
    A custom selectable control that can be used to control areas that can be expanded or collapsed.
    class 
    A custom selectable control that can be used to control areas that can be expanded or collapsed.
    class 
    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
    Modifier and Type
    Method
    Description
    void
    CommonViewer.doUpdateItem(Widget item)
    Update an item in the tree.
    protected void
    CommonViewer.mapElement(Object element, Widget item)
     
    protected void
    CommonViewer.unmapElement(Object element, Widget item)
     
  • Uses of Widget in org.eclipse.ui.part

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