|
|
|
|
Uses of Class org.eclipse.swt.widgets.Widget
Methods in
org.eclipse.jface.viewers with parameters of type
Widget
|
protected void
|
TreeViewer.
createChildren
(
Widget widget)
|
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 abstract void
|
StructuredViewer.
doUpdateItem
(
Widget item,
Object element,
boolean fullMap)
Copies the attributes of the given element into the given SWT item. |
protected void
|
CheckboxTableViewer.
doUpdateItem
(
Widget widget,
Object element,
boolean fullMap)
|
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
Item
|
TreeViewer.
getChild
(
Widget widget,
int index)
|
protected
Item
|
TableTreeViewer.
getChild
(
Widget widget,
int index)
Deprecated. |
protected
Item
|
AbstractTreeViewer.
getChild
(
Widget widget,
int index)
Get the child for the widget at index. |
protected
Item[]
|
TreeViewer.
getChildren
(
Widget o)
|
protected
Item[]
|
TableTreeViewer.
getChildren
(
Widget o)
Deprecated. |
protected abstract
Item[]
|
AbstractTreeViewer.
getChildren
(
Widget widget)
Returns the SWT child items for the given SWT widget. |
Item[]
|
AbstractTreeViewer.
getChildren
(
Widget widget,
Object[] elementChildren)
Deprecated. This method was inadvertently released as API but is not
intended to be called by clients.
|
protected
ViewerRow
|
TreeViewer.
getViewerRowFromItem
(
Widget item)
|
protected
ViewerRow
|
AbstractTreeViewer.
getViewerRowFromItem
(
Widget item)
|
protected
ViewerRow
|
TableViewer.
getViewerRowFromItem
(
Widget item)
|
protected abstract
ViewerRow
|
ColumnViewer.
getViewerRowFromItem
(
Widget item)
Returns a
ViewerRow associated with the given row widget. |
protected int
|
AbstractTreeViewer.
indexForElement
(
Widget parent,
Object element)
Returns the index where the item should be inserted. |
protected void
|
TreeViewer.
internalAdd
(
Widget widget,
Object parentElement,
Object[] childElements)
|
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
|
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
|
TreeViewer.
mapElement
(
Object element,
Widget item)
|
protected void
|
StructuredViewer.
mapElement
(
Object element,
Widget item)
Adds the element item pair to the element map. |
protected
Item
|
TreeViewer.
newItem
(
Widget parent,
int flags,
int ix)
|
protected
Item
|
TableTreeViewer.
newItem
(
Widget parent,
int flags,
int ix)
Deprecated. |
protected abstract
Item
|
AbstractTreeViewer.
newItem
(
Widget parent,
int style,
int index)
Creates a new item. |
protected 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 void
|
StructuredViewer.
updateItem
(
Widget widget,
Object element)
Copies attributes of the given element into the given widget. |
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.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. |
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
|
IME
Instances of this class represent input method editors. |
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. |
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. |
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. |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|