|
|
|
|
Uses of Class org.eclipse.swt.widgets.Control
Packages that use
Control
|
org.eclipse.compare
|
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results. |
org.eclipse.compare.contentmergeviewer
|
Support for compare and merge viewers which show the
content side-by-side. |
org.eclipse.debug.ui
|
Provides a generic debugger user interface that clients may customize via standard
workbench extension points. |
org.eclipse.debug.ui.actions
|
Provides a set of actions related to running and debugging applications. |
org.eclipse.debug.ui.memory
|
Provides classes and interfaces to render memory blocks in the memory view. |
org.eclipse.debug.ui.sourcelookup
|
Provides a user interface for debug platform source lookup facilities. |
org.eclipse.help.ui
|
Provides a framework for editing and contributing to the help search scope. |
org.eclipse.jface.action
|
Provides support for shared UI resources such as menus,
tool bars, and status lines. |
org.eclipse.jface.contentassist
|
Provides a content assist add-on for implementors of IContentAssistSubjectControl. |
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.fieldassist
|
Provides classes that help communicate proper content for fields in dialogs and wizards. |
org.eclipse.jface.layout
|
Provides support for layout generation. |
org.eclipse.jface.preference
|
Provides a framework for preferences. |
org.eclipse.jface.resource
|
Provides support for managing resources such as SWT
fonts and images. |
org.eclipse.jface.text
|
Provides a framework for creating and manipulating text documents. |
org.eclipse.jface.text.source
|
Provides a framework for connecting document regions
with annotations and for displaying those. |
org.eclipse.jface.util
|
Provides useful building blocks used throughout JFace,
including property change events, a listener list implementation, and runtime
checked assertions. |
org.eclipse.jface.viewers
|
Provides a framework for viewers, which are model-based
content adapters for SWT widgets. |
org.eclipse.jface.window
|
Provides a general framework for creating and managing
windows. |
org.eclipse.jface.wizard
|
Provides a framework for wizards. |
org.eclipse.ltk.ui.refactoring
|
Application programming interface to implement a wizard based user interface for refactorings. |
org.eclipse.ltk.ui.refactoring.history
|
Application programming interface to display and preview refactoring history information. |
org.eclipse.search.ui.text
|
Provides the base classes to implement a search result view part for searches with textual matches. |
org.eclipse.swt.accessibility
|
SWT Accessibility. |
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.layout
|
This package contains the SWT layout classes. |
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.team.ui
|
Provides basic support for managing Team providers. |
org.eclipse.team.ui.history
|
Application programming interfaces for working with history
Package Specification
This package specifies the API for providing history pages to the history view. |
org.eclipse.team.ui.synchronize
|
Contains the team synchronization presentation framework and support
for the Synchronize View. |
org.eclipse.ui
|
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface. |
org.eclipse.ui.actions
|
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface. |
org.eclipse.ui.activities
|
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface. |
org.eclipse.ui.application
|
Application-level APIs for configuring and controling the Eclipse Platform User
Interface. |
org.eclipse.ui.cheatsheets
|
Provides support for working with cheat sheets. |
org.eclipse.ui.console
|
Application programming interfaces for interaction
with the Eclipse console. |
org.eclipse.ui.dialogs
|
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface. |
org.eclipse.ui.fieldassist
|
Classes that provide workbench-level UI support for content assistance
and common workbench field decorations. |
org.eclipse.ui.forms
|
Forms-based controls for use in views, editors, and wizards. |
org.eclipse.ui.forms.editor
|
Support for forms-based multi-page editors. |
org.eclipse.ui.forms.widgets
|
Custom widgets and controls for forms-based parts. |
org.eclipse.ui.help
|
Classes for integration with the help support system
in the Eclipse Platform User Interface. |
org.eclipse.ui.ide.dialogs
|
APIs for dialogs in the IDE-specific portion of the Eclipse Platform User Interface. |
org.eclipse.ui.intro.config
|
Provides support for customizing welcome content and presentation. |
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. |
org.eclipse.ui.preferences
|
Classes for using the preferences support in org.eclipse.core.runtime.preferences
Package Specification
This package has the convenience classes provided by the Eclipse workbench for
use by clients who wish to use the core preference support added in 3.0. |
org.eclipse.ui.presentations
|
Classes for contributing presentations to eclipse. |
org.eclipse.ui.statushandlers
|
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface. |
org.eclipse.ui.swt
|
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface. |
org.eclipse.ui.texteditor
|
Provides a framework for text editors obeying to the
desktop rules. |
org.eclipse.ui.texteditor.spelling
|
Partial infrastructure for spell checking in text editors. |
org.eclipse.ui.texteditor.templates
|
Application programming interfaces for interaction
with the Eclipse text editor template support. |
org.eclipse.ui.views.contentoutline
|
Provides the standard Content Outline view which can
show the active editor's custom outline for the document being edited. |
org.eclipse.ui.views.markers
|
Utility classes for working with markers in views
|
org.eclipse.ui.views.properties
|
Provides the standard Property Sheet view which displays
custom properties of the active workbench part's current selection. |
org.eclipse.ui.views.properties.tabbed
|
Provides the Tabbed Properties framework. |
Methods in
org.eclipse.jface.action with parameters of type
Control
|
protected int
|
ControlContribution.
computeWidth
(
Control control)
Computes the width of the given control which is being added
to a tool bar. |
Menu
|
MenuManager.
createContextMenu
(
Control parent)
Creates and returns an SWT context menu control for this menu,
and installs all registered contributions. |
Menu
|
IMenuCreator.
getMenu
(
Control parent)
Returns the SWT menu, created as a pop up menu parented by the
given control. |
Methods in
org.eclipse.jface.dialogs with parameters of type
Control
|
protected void
|
PopupDialog.
applyBackgroundColor
(
Color color,
Control control)
Set the specified background color for the specified control and all of
its children. |
static void
|
Dialog.
applyDialogFont
(
Control control)
Applies the dialog font to all controls that currently have the default
font. |
protected void
|
PopupDialog.
applyForegroundColor
(
Color color,
Control control)
Set the specified foreground color for the specified control and all of
its children. |
ControlAnimator
|
AnimatorFactory.
createAnimator
(
Control control)
Deprecated. Creates a new ControlAnimator for use by JFace in animating
the display of an SWT Control. |
static
ControlEnableState
|
ControlEnableState.
disable
(
Control w)
Saves the current enable/disable state of the given control and its
descendents in the returned object; the controls are all disabled. |
static
ControlEnableState
|
ControlEnableState.
disable
(
Control w,
List exceptions)
Saves the current enable/disable state of the given control and its
descendents in the returned object except for the given list of exception
cases; the controls that are saved are also disabled. |
protected void
|
DialogPage.
initializeDialogUnits
(
Control testControl)
Initializes the computation of horizontal and vertical dialog units based
on the size of current font. |
protected void
|
Dialog.
initializeDialogUnits
(
Control control)
Initializes the computation of horizontal and vertical dialog units based
on the size of current font. |
protected void
|
DialogPage.
setControl
(
Control newControl)
Set the control for the receiver. |
static
String
|
Dialog.
shortenText
(
String textValue,
Control control)
Shortens the given text textValue so that its width in
pixels does not exceed the width of the given control. |
Constructors in
org.eclipse.jface.dialogs with parameters of type
Control
|
ControlAnimator
(
Control control)
Constructs a new ControlAnimator instance and passes along the
control that will be displayed or hidden. |
ControlEnableState
(
Control w)
Creates a new object and saves in it the current enable/disable state of
the given control and its descendents; the controls that are saved are
also disabled. |
ControlEnableState
(
Control w,
List exceptions)
Creates a new object and saves in it the current enable/disable state of
the given control and its descendents except for the given list of
exception cases; the controls that are saved are also disabled. |
Methods in
org.eclipse.jface.fieldassist with parameters of type
Control
|
static
RGB
|
FieldAssistColors.
computeErrorFieldBackgroundRGB
(
Control control)
Deprecated. Compute the RGB of the color that should be used for the background of a
control to indicate that the control has an error. |
String
|
ComboContentAdapter.
getControlContents
(
Control control)
|
String
|
TextContentAdapter.
getControlContents
(
Control control)
|
String
|
IControlContentAdapter.
getControlContents
(
Control control)
Get the text contents of the control. |
int
|
ComboContentAdapter.
getCursorPosition
(
Control control)
|
int
|
TextContentAdapter.
getCursorPosition
(
Control control)
|
int
|
IControlContentAdapter.
getCursorPosition
(
Control control)
Get the current cursor position in the control. |
protected
Rectangle
|
ControlDecoration.
getDecorationRectangle
(
Control targetControl)
Return the rectangle in which the decoration should be rendered, in
coordinates relative to the specified control. |
Rectangle
|
ComboContentAdapter.
getInsertionBounds
(
Control control)
|
Rectangle
|
TextContentAdapter.
getInsertionBounds
(
Control control)
|
Rectangle
|
IControlContentAdapter.
getInsertionBounds
(
Control control)
Get the bounds (in pixels) of the insertion point for the control
content. |
static
Color
|
FieldAssistColors.
getRequiredFieldBackgroundColor
(
Control control)
Deprecated. Return the color that should be used for the background of a control to
indicate that the control is a required field and does not have content. |
Point
|
ComboContentAdapter.
getSelection
(
Control control)
|
Point
|
TextContentAdapter.
getSelection
(
Control control)
|
Point
|
IControlContentAdapter2.
getSelection
(
Control control)
Get the current selection range in the control. |
void
|
ComboContentAdapter.
insertControlContents
(
Control control,
String text,
int cursorPosition)
|
void
|
TextContentAdapter.
insertControlContents
(
Control control,
String text,
int cursorPosition)
|
void
|
IControlContentAdapter.
insertControlContents
(
Control control,
String contents,
int cursorPosition)
Insert the specified contents into the control's current contents. |
void
|
ComboContentAdapter.
setControlContents
(
Control control,
String text,
int cursorPosition)
|
void
|
TextContentAdapter.
setControlContents
(
Control control,
String text,
int cursorPosition)
|
void
|
IControlContentAdapter.
setControlContents
(
Control control,
String contents,
int cursorPosition)
Set the contents of the specified control to the specified text. |
void
|
ComboContentAdapter.
setCursorPosition
(
Control control,
int index)
|
void
|
TextContentAdapter.
setCursorPosition
(
Control control,
int position)
|
void
|
IControlContentAdapter.
setCursorPosition
(
Control control,
int index)
Set the current cursor position in the control. |
void
|
ComboContentAdapter.
setSelection
(
Control control,
Point range)
|
void
|
TextContentAdapter.
setSelection
(
Control control,
Point range)
|
void
|
IControlContentAdapter2.
setSelection
(
Control control,
Point range)
Set the current selection range in the control. |
Constructors in
org.eclipse.jface.fieldassist with parameters of type
Control
|
AutoCompleteField
(
Control control,
IControlContentAdapter controlContentAdapter,
String[] proposals)
Construct an AutoComplete field on the specified control, whose
completions are characterized by the specified array of Strings. |
ContentProposalAdapter
(
Control control,
IControlContentAdapter controlContentAdapter,
IContentProposalProvider proposalProvider,
KeyStroke keyStroke,
char[] autoActivationCharacters)
Construct a content proposal adapter that can assist the user with
choosing content for the field. |
ControlDecoration
(
Control control,
int position)
Construct a ControlDecoration for decorating the specified control at the
specified position relative to the control. |
ControlDecoration
(
Control control,
int position,
Composite composite)
Construct a ControlDecoration for decorating the specified control at the
specified position relative to the control. |
Methods in
org.eclipse.jface.layout with parameters of type
Control
|
void
|
GridDataFactory.
applyTo
(
Control control)
Sets the layout data on the given control. |
void
|
RowDataFactory.
applyTo
(
Control control)
Sets the layout data on the given control. |
static
GridDataFactory
|
GridDataFactory.
defaultsFor
(
Control theControl)
Returns a GridDataFactory initialized with heuristicly generated defaults for the given control. |
static void
|
GridDataFactory.
generate
(
Control theControl,
int hSpan,
int vSpan)
Generates layout data to the given control, given the number of cells
spanned by the control. |
static void
|
GridDataFactory.
generate
(
Control theControl,
Point span)
Generates layout data to the given control, given the number of cells
spanned by the control. |
Methods in
org.eclipse.jface.text.source that return
Control
|
Control
|
OverviewRuler.
createControl
(
Composite parent,
ITextViewer textViewer)
|
Control
|
VerticalRuler.
createControl
(
Composite parent,
ITextViewer textViewer)
|
Control
|
IVerticalRuler.
createControl
(
Composite parent,
ITextViewer textViewer)
Creates the ruler's SWT control. |
Control
|
CompositeRuler.
createControl
(
Composite parent,
ITextViewer textViewer)
|
Control
|
AbstractRulerColumn.
createControl
(
CompositeRuler parentRuler,
Composite parentControl)
|
Control
|
LineNumberRulerColumn.
createControl
(
CompositeRuler parentRuler,
Composite parentControl)
|
Control
|
IVerticalRulerColumn.
createControl
(
CompositeRuler parentRuler,
Composite parentControl)
Creates the column's SWT control. |
Control
|
AnnotationRulerColumn.
createControl
(
CompositeRuler parentRuler,
Composite parentControl)
|
Control
|
ChangeRulerColumn.
createControl
(
CompositeRuler parentRuler,
Composite parentControl)
|
Control
|
LineNumberChangeRulerColumn.
createControl
(
CompositeRuler parentRuler,
Composite parentControl)
|
Control
|
OverviewRuler.
getControl
()
|
Control
|
AbstractRulerColumn.
getControl
()
|
Control
|
IVerticalRulerInfo.
getControl
()
Returns the ruler's SWT control. |
Control
|
LineNumberRulerColumn.
getControl
()
|
Control
|
IVerticalRulerColumn.
getControl
()
Returns the column's SWT control. |
Control
|
VerticalRuler.
getControl
()
|
Control
|
AnnotationRulerColumn.
getControl
()
|
Control
|
ChangeRulerColumn.
getControl
()
|
Control
|
SourceViewer.
getControl
()
|
Control
|
CompositeRuler.
getControl
()
|
Control
|
OverviewRuler.
getHeaderControl
()
|
Control
|
IOverviewRuler.
getHeaderControl
()
Returns this rulers header control. |
Methods in
org.eclipse.jface.viewers with parameters of type
Control
|
protected void
|
AbstractTreeViewer.
addSelectionListener
(
Control control,
SelectionListener listener)
Deprecated.
|
protected void
|
TreeViewer.
addTreeListener
(
Control c,
TreeListener listener)
|
protected void
|
TableTreeViewer.
addTreeListener
(
Control c,
TreeListener listener)
Deprecated. |
protected abstract void
|
AbstractTreeViewer.
addTreeListener
(
Control control,
TreeListener listener)
Adds the given SWT tree listener to the given SWT control. |
protected int
|
TreeViewer.
getItemCount
(
Control widget)
|
protected int
|
TableTreeViewer.
getItemCount
(
Control widget)
Deprecated. |
protected abstract int
|
AbstractTreeViewer.
getItemCount
(
Control control)
Returns the number of child items of the given SWT control. |
protected
Item[]
|
TreeViewer.
getSelection
(
Control widget)
|
protected
Item[]
|
TableTreeViewer.
getSelection
(
Control widget)
Deprecated. |
protected abstract
Item[]
|
AbstractTreeViewer.
getSelection
(
Control control)
Returns all selected items for the given SWT control. |
protected void
|
TreeViewer.
hookControl
(
Control control)
|
protected void
|
StructuredViewer.
hookControl
(
Control control)
|
protected void
|
TableTreeViewer.
hookControl
(
Control control)
Deprecated. |
protected void
|
AbstractTableViewer.
hookControl
(
Control control)
|
protected void
|
AbstractTreeViewer.
hookControl
(
Control control)
|
protected void
|
ContentViewer.
hookControl
(
Control control)
Adds event listener hooks to the given control. |
protected void
|
ColumnViewer.
hookControl
(
Control control)
|
protected void
|
ColumnViewer.
hookEditingSupport
(
Control control)
Hook up the editing support. |
protected void
|
TreeViewer.
internalInitializeTree
(
Control widget)
|
protected void
|
AbstractTreeViewer.
internalInitializeTree
(
Control tree)
Initializes the tree with root items, expanding to the appropriate
level if necessary. |
protected abstract
Object
|
DialogCellEditor.
openDialogBox
(
Control cellEditorWindow)
Opens a dialog box under the given parent control and returns the
dialog's value when it closes, or null if the dialog
was canceled or no selection was made in the dialog. |
protected
Object
|
ColorCellEditor.
openDialogBox
(
Control cellEditorWindow)
|
protected void
|
TreeViewer.
removeAll
(
Control widget)
|
protected void
|
TableTreeViewer.
removeAll
(
Control widget)
Deprecated. |
protected abstract void
|
AbstractTreeViewer.
removeAll
(
Control control)
Removes all items from the given control. |
protected void
|
TreeViewerEditor.
setEditor
(
Control w,
Item item,
int fColumnNumber)
|
protected void
|
TableViewerEditor.
setEditor
(
Control w,
Item item,
int columnNumber)
|
protected abstract void
|
ColumnViewerEditor.
setEditor
(
Control w,
Item item,
int fColumnNumber)
Position the editor inside the control |
Subclasses of
Control 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
|
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
|
ViewForm
Instances of this class implement a Composite that positions and sizes
children and allows programmatic control of layout and border parameters. |
Methods in
org.eclipse.swt.custom with parameters of type
Control
|
protected boolean
|
StackLayout.
flushCache
(
Control control)
|
void
|
CBanner.
setBottom
(
Control control)
Set the control that appears on the bottom side of the banner. |
void
|
ScrolledComposite.
setContent
(
Control content)
Set the content that will be scrolled. |
void
|
ViewForm.
setContent
(
Control content)
Sets the content. |
void
|
CTabItem.
setControl
(
Control control)
Sets the control that is used to fill the client area of
the tab folder when the user selects the tab item. |
void
|
ControlEditor.
setEditor
(
Control editor)
Specify the Control that is to be displayed. |
void
|
TreeEditor.
setEditor
(
Control editor)
|
void
|
TableEditor.
setEditor
(
Control editor)
|
void
|
TableEditor.
setEditor
(
Control editor,
TableItem item,
int column)
Specify the Control that is to be displayed and the cell in the table that it is to be positioned above. |
void
|
TableTreeEditor.
setEditor
(
Control editor,
TableTreeItem item,
int column)
Deprecated. Specify the Control that is to be displayed and the cell in the table that it is to be positioned above. |
void
|
TreeEditor.
setEditor
(
Control editor,
TreeItem item)
Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above. |
void
|
TreeEditor.
setEditor
(
Control editor,
TreeItem item,
int column)
Specify the Control that is to be displayed and the cell in the tree that it is to be positioned above. |
void
|
CBanner.
setLeft
(
Control control)
Set the control that appears on the left side of the banner. |
void
|
SashForm.
setMaximizedControl
(
Control control)
Specify the control that should take up the entire client area of the SashForm. |
void
|
CBanner.
setRight
(
Control control)
Set the control that appears on the right side of the banner. |
void
|
ViewForm.
setTopCenter
(
Control topCenter)
Set the control that appears in the top center of the pane. |
void
|
ViewForm.
setTopLeft
(
Control c)
Set the control that appears in the top left corner of the pane. |
void
|
CTabFolder.
setTopRight
(
Control control)
Set the control that appears in the top right corner of the tab folder. |
void
|
ViewForm.
setTopRight
(
Control c)
Set the control that appears in the top right corner of the pane. |
void
|
CTabFolder.
setTopRight
(
Control control,
int alignment)
Set the control that appears in the top right corner of the tab folder. |
void
|
ScrolledComposite.
showControl
(
Control control)
Scrolls the content of the receiver so that the control is visible. |
Constructors in
org.eclipse.swt.dnd with parameters of type
Control
|
DragSource
(
Control control,
int style)
Creates a new DragSource to handle dragging from the specified Control . |
DragSourceEffect
(
Control control)
Creates a new DragSourceEffect to handle drag effect from the specified Control . |
DropTarget
(
Control control,
int style)
Creates a new DropTarget to allow data to be dropped on the specified
Control . |
DropTargetEffect
(
Control control)
Creates a new DropTargetEffect to handle the drag under effect on the specified
Control . |
Subclasses of
Control 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
|
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
|
CoolBar
Instances of this class provide an area for dynamically
positioning the items they contain. |
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
|
Group
Instances of this class provide an etched border
with an optional title. |
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
|
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
|
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
|
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
|
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
|
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. |
Methods in
org.eclipse.swt.widgets that return
Control
|
Control[]
|
Composite.
getChildren
()
Returns a (possibly empty) array containing the receiver's children. |
Control
|
ToolItem.
getControl
()
Returns the control that is used to fill the bounds of
the item when the item is a SEPARATOR . |
Control
|
CoolItem.
getControl
()
Returns the control that is associated with the receiver. |
Control
|
TabItem.
getControl
()
Returns the control that is used to fill the client area of
the tab folder when the user selects the tab item. |
Control
|
ExpandItem.
getControl
()
Returns the control that is shown when the item is expanded. |
Control
|
Display.
getCursorControl
()
Returns the control which the on-screen pointer is currently
over top of, or null if it is not currently over one of the
controls built by the currently running application. |
Control
|
Display.
getFocusControl
()
Returns the control which currently has keyboard focus,
or null if keyboard events are not currently going to
any of the controls built by the currently running
application. |
Control[]
|
Composite.
getTabList
()
Gets the (possibly empty) tabbing order for the control. |
Methods in
org.eclipse.swt.widgets with parameters of type
Control
|
void
|
Composite.
changed
(
Control[] changed)
Clears any data that has been cached by a Layout for all widgets that
are in the parent hierarchy of the changed control up to and including the
receiver. |
protected boolean
|
Layout.
flushCache
(
Control control)
Instruct the layout to flush any cached values
associated with the control specified in the argument
control . |
void
|
Composite.
layout
(
Control[] changed)
Forces a lay out (that is, sets the size and location) of all widgets that
are in the parent hierarchy of the changed control up to and including the
receiver. |
Point
|
Display.
map
(
Control from,
Control to,
int x,
int y)
Maps a point from one coordinate system to another. |
Rectangle
|
Display.
map
(
Control from,
Control to,
int x,
int y,
int width,
int height)
Maps a point from one coordinate system to another. |
Point
|
Display.
map
(
Control from,
Control to,
Point point)
Maps a point from one coordinate system to another. |
Rectangle
|
Display.
map
(
Control from,
Control to,
Rectangle rectangle)
Maps a point from one coordinate system to another. |
void
|
Control.
moveAbove
(
Control control)
Moves the receiver above the specified control in the
drawing order. |
void
|
Control.
moveBelow
(
Control control)
Moves the receiver below the specified control in the
drawing order. |
void
|
ToolItem.
setControl
(
Control control)
Sets the control that is used to fill the bounds of
the item when the item is a SEPARATOR . |
void
|
CoolItem.
setControl
(
Control control)
Sets the control that is associated with the receiver
to the argument. |
void
|
TabItem.
setControl
(
Control control)
Sets the control that is used to fill the client area of
the tab folder when the user selects the tab item. |
void
|
ExpandItem.
setControl
(
Control control)
Sets the control that is shown when the item is expanded. |
void
|
Composite.
setTabList
(
Control[] tabList)
Sets the tabbing order for the specified controls to
match the order that they occur in the argument list. |
Constructors in
org.eclipse.swt.widgets with parameters of type
Control
|
Menu
(
Control parent)
Constructs a new instance of this class given its parent,
and sets the style for the instance so that the instance
will be a popup menu on the given parent's shell. |
Subclasses of
Control 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. |
Methods in
org.eclipse.ui.forms.widgets with parameters of type
Control
|
void
|
FormToolkit.
adapt
(
Control control,
boolean trackFocus,
boolean trackKeyboard)
Adapts a control to be used in a form that is associated with this
toolkit. |
static void
|
FormToolkit.
ensureVisible
(
Control c)
A helper method that ensures the provided control is visible when
ScrolledComposite is somewhere in the parent chain. |
void
|
ScrolledPageBook.
registerPage
(
Object key,
Control page)
Registers a page under the privided key to be managed by the page book. |
void
|
ExpandableComposite.
setClient
(
Control client)
Sets the client of this expandable composite. |
void
|
ScrolledFormText.
setContent
(
Control c)
The class sets the content widget. |
void
|
ScrolledForm.
setContent
(
Control c)
The form sets the content widget. |
void
|
SharedScrolledComposite.
setContent
(
Control content)
Overrides 'super' to pass the proper colors and font |
void
|
SizeCache.
setControl
(
Control newControl)
Sets the control whose size is being cached. |
void
|
FormText.
setControl
(
String key,
Control control)
Registers the control referenced by the provided key. |
void
|
LayoutCache.
setControls
(
Control[] controls)
Sets the controls that are being cached here. |
static void
|
FormToolkit.
setControlVisible
(
Control c,
boolean verticalOnly)
A utility method that ensures that the control is visible in the scrolled
composite. |
void
|
Section.
setDescriptionControl
(
Control descriptionControl)
Sets the description control of this section. |
void
|
Form.
setHeadClient
(
Control headClient)
Sets the optional head client. |
void
|
ScrolledForm.
setHeadClient
(
Control headClient)
Sets the optional head client. |
void
|
Section.
setSeparatorControl
(
Control separator)
Sets the separator control of this section. |
void
|
ExpandableComposite.
setTextClient
(
Control textClient)
Sets the text client control. |
Methods in
org.eclipse.ui.help with parameters of type
Control
|
static
Object
|
WorkbenchHelp.
getHelp
(
Control control)
Deprecated. as context computers are no longer supported
|
static void
|
WorkbenchHelp.
setHelp
(
Control control,
IContextComputer computer)
Deprecated. context computers are no longer supported, clients should implement
their own help listener
|
static void
|
WorkbenchHelp.
setHelp
(
Control control,
Object[] contexts)
Deprecated. use setHelp with single context id parameter
|
static void
|
WorkbenchHelp.
setHelp
(
Control control,
String contextId)
Deprecated. Sets the given help context id on the given control. |
void
|
IWorkbenchHelpSystem.
setHelp
(
Control control,
String contextId)
Sets the given help context id on the given control. |
Methods in
org.eclipse.ui.part with parameters of type
Control
|
int
|
MultiPageEditorPart.
addPage
(
Control control)
Creates and adds a new page containing the given control to this
multi-page editor. |
void
|
MultiPageEditorPart.
addPage
(int index,
Control control)
Creates and adds a new page containing the given control to this
multi-page editor. |
protected void
|
MultiPageEditorPart.
setControl
(int pageIndex,
Control control)
Sets the control for the given page index. |
void
|
PageBook.
showPage
(
Control page)
Shows the given page. |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|
|