org.eclipse.swt.widgets |
Package-level Javadoc
SWT widget public API classes.
Package Specification
This package contains the classes which make up the public SWT widget
API as well as the related public support classes (for example, class
Event ).
|
Java Source File Name | Type | Comment |
Button.java | Class | Instances of this class represent a selectable user interface object that
issues notification when pressed and released. |
Canvas.java | Class | Instances of this class provide a surface for drawing
arbitrary graphics.
- Styles:
- (none)
- Events:
- (none)
This class may be subclassed by custom control implementors
who are building controls that are not constructed
from aggregates of other controls. |
Caret.java | Class | Instances of this class provide an i-beam that is typically used
as the insertion point for text. |
ColorDialog.java | Class | Instances of this class allow the user to select a color
from a predefined set of available colors. |
Combo.java | 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. |
Composite.java | Class | Instances of this class are controls which are capable
of containing other controls.
- Styles:
- NO_BACKGROUND, NO_FOCUS, NO_MERGE_PAINTS, NO_REDRAW_RESIZE, NO_RADIO_GROUP, EMBEDDED, DOUBLE_BUFFERED
- Events:
- (none)
Note: The NO_BACKGROUND , NO_FOCUS , NO_MERGE_PAINTS ,
and NO_REDRAW_RESIZE styles are intended for use with Canvas .
They can be used with Composite if you are drawing your own, but their
behavior is undefined if they are used with subclasses of Composite other
than Canvas .
Note: The CENTER style, although undefined for composites, has the
same value as EMBEDDED (which is used to embed widgets from other
widget toolkits into SWT). |
Control.java | Class | Control is the abstract superclass of all windowed user interface classes. |
CoolBar.java | Class | Instances of this class provide an area for dynamically
positioning the items they contain. |
CoolItem.java | Class | Instances of this class are selectable user interface
objects that represent the dynamically positionable
areas of a CoolBar . |
DateTime.java | Class | Instances of this class are selectable user interface
objects that allow the user to enter and modify date
or time values. |
Decorations.java | Class | Instances of this class provide the appearance and
behavior of Shells , but are not top
level shells or dialogs. |
Dialog.java | Class | This class is the abstract superclass of the classes
that represent the built in platform dialogs.
A Dialog typically contains other widgets
that are not accessible. |
DirectoryDialog.java | Class | Instances of this class allow the user to navigate
the file system and select a directory. |
Display.java | Class | Instances of this class are responsible for managing the
connection between SWT and the underlying operating
system. |
Event.java | Class | Instances of this class provide a description of a particular
event which occurred within SWT. |
EventTable.java | Class | Instances of this class implement a simple
look up mechanism that maps an event type
to a listener. |
ExpandBar.java | Class | Instances of this class support the layout of selectable
expand bar items. |
ExpandItem.java | Class | Instances of this class represent a selectable user interface object
that represents a expandable item in a expand bar. |
FileDialog.java | Class | Instances of this class allow the user to navigate
the file system and select or enter a file name. |
FontDialog.java | Class | Instances of this class allow the user to select a font
from all available fonts in the system. |
Group.java | Class | Instances of this class provide an etched border
with an optional title.
Shadow styles are hints and may not be honoured
by the platform. |
Item.java | Class | This class is the abstract superclass of all non-windowed
user interface objects that occur within specific controls. |
Label.java | Class | Instances of this class represent a non-selectable
user interface object that displays a string or image.
When SEPARATOR is specified, displays a single
vertical or horizontal line.
- Styles:
- SEPARATOR, HORIZONTAL, VERTICAL
- SHADOW_IN, SHADOW_OUT, SHADOW_NONE
- CENTER, LEFT, RIGHT, WRAP
- Events:
- (none)
Note: Only one of SHADOW_IN, SHADOW_OUT and SHADOW_NONE may be specified.
SHADOW_NONE is a HINT. |
Layout.java | Class | A layout controls the position and size
of the children of a composite widget. |
Link.java | Class | Instances of this class represent a selectable
user interface object that displays a text with
links. |
List.java | 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. |
Listener.java | Interface | Implementers of Listener provide a simple
handleEvent() method that is used internally
by SWT to dispatch events.
After creating an instance of a class that implements this interface
it can be added to a widget using the
addListener(int eventType, Listener handler) method and
removed using the
removeListener (int eventType, Listener handler) method. |
Menu.java | Class | Instances of this class are user interface objects that contain
menu items. |
MenuItem.java | Class | Instances of this class represent a selectable user interface object
that issues notification when pressed and released. |
MessageBox.java | Class | Instances of this class are used to inform or warn the user. |
Monitor.java | Class | Instances of this class are descriptions of monitors. |
ProgressBar.java | Class | Instances of the receiver represent an unselectable
user interface object that is used to display progress,
typically in the form of a bar. |
RunnableLock.java | Class | Instances of this class are used to ensure that an
application cannot interfere with the locking mechanism
used to implement asynchronous and synchronous communication
between widgets and background threads. |
Sash.java | 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. |
Scale.java | Class | Instances of the receiver represent a selectable user
interface object that present a range of continuous
numeric values. |
Scrollable.java | Class | This class is the abstract superclass of all classes which
represent controls that have standard scroll bars. |
ScrollBar.java | Class | Instances of this class are selectable user interface
objects that represent a range of positive, numeric values. |
Shell.java | Class | Instances of this class represent the "windows"
which the desktop or "window manager" is managing.
Instances that do not have a parent (that is, they
are built using the constructor, which takes a
Display as the argument) are described
as top level shells. |
Slider.java | Class | Instances of this class are selectable user interface
objects that represent a range of positive, numeric values. |
Spinner.java | Class | Instances of this class are selectable user interface
objects that allow the user to enter and modify numeric
values. |
Synchronizer.java | Class | Instances of this class provide synchronization support
for displays. |
TabFolder.java | Class | Instances of this class implement the notebook user interface
metaphor. |
TabItem.java | Class | Instances of this class represent a selectable user interface object
corresponding to a tab for a page in a tab folder. |
Table.java | Class | Instances of this class implement a selectable user interface
object that displays a list of images and strings and issues
notification when selected.
The item children that may be added to instances of this class
must be of type TableItem .
Style VIRTUAL is used to create a Table whose
TableItem s are to be populated by the client on an on-demand basis
instead of up-front. |
TableColumn.java | Class | Instances of this class represent a column in a table widget. |
TableItem.java | Class | Instances of this class represent a selectable user interface object
that represents an item in a table. |
Text.java | Class | Instances of this class are selectable user interface
objects that allow the user to enter and modify text. |
ToolBar.java | Class | Instances of this class support the layout of selectable
tool bar items. |
ToolItem.java | Class | Instances of this class represent a selectable user interface object
that represents a button in a tool bar. |
ToolTip.java | Class | Instances of this class represent popup windows that are used
to inform or warn the user. |
Tracker.java | Class | Instances of this class implement rubber banding rectangles that are
drawn onto a parent Composite or Display .
These rectangles can be specified to respond to mouse and key events
by either moving or resizing themselves accordingly. |
Tray.java | Class | Instances of this class represent the system tray that is part
of the task bar status area on some operating systems. |
TrayItem.java | Class | Instances of this class represent icons that can be placed on the
system tray or task bar status area. |
Tree.java | 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.
The item children that may be added to instances of this class
must be of type TreeItem .
Style VIRTUAL is used to create a Tree whose
TreeItem s are to be populated by the client on an on-demand basis
instead of up-front. |
TreeColumn.java | Class | Instances of this class represent a column in a tree widget. |
TreeItem.java | Class | Instances of this class represent a selectable user interface object
that represents a hierarchy of tree items in a tree widget. |
TypedListener.java | Class | Instances of this class are internal SWT implementation
objects which provide a mapping between the typed and untyped
listener mechanisms that SWT supports.
IMPORTANT: This class is not part of the SWT
public API. |
Widget.java | Class | This class is the abstract superclass of all user interface objects. |