Modifier and Type | Method and Description |
---|---|
void |
Application.addThemableWidget(java.lang.Class<? extends Widget> widget)
Register a themeable widget for this application.
|
Modifier and Type | Method and Description |
---|---|
static Widget |
WidgetUtil.find(Composite root,
java.lang.String id)
Deprecated.
Custom widgets that use RemoteObject should not require this method.
|
Widget |
IWidgetAdapter.getParent()
Deprecated.
Use
WidgetAdapter instead of IWidgetAdapter . |
Widget |
WidgetAdapter.getParent()
Deprecated.
Returns the parent given to the widget constructor.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
AbstractWidgetLCA.adjustCoordinates(Widget widget,
Rectangle bounds)
Deprecated.
Adjustment of the widget bounds is now handled on the client.
|
static WidgetAdapter |
WidgetUtil.getAdapter(Widget widget)
Deprecated.
The WidgetAdapter interface was provided to facilitate the implementation of LCAs.
New custom widgets should use the RemoteObject API instead of LCAs.
|
static java.lang.String |
WidgetUtil.getId(Widget widget)
Deprecated.
Use org.eclipse.rap.rwt.widgets.WidgetUtil#getId(Widget) instead.
|
static AbstractWidgetLCA |
WidgetUtil.getLCA(Widget widget)
Deprecated.
New custom widgets should use the RemoteObject API instead of LCAs.
|
static java.lang.String[] |
WidgetLCAUtil.getStyles(Widget widget,
java.lang.String[] styles)
Deprecated.
Obtains a list of SWT style flags that are present in the given widget.
|
static java.lang.String |
WidgetUtil.getVariant(Widget widget)
Deprecated.
Application code should obtain the variant using
Widget.getData(RWT.CUSTOM_VARIANT) . |
static boolean |
WidgetLCAUtil.hasChanged(Widget widget,
java.lang.String property,
java.lang.Object newValue)
Deprecated.
Determines whether the property of the given widget has changed during the
processing of the current request and thus the changes must be rendered in
the response.
|
static boolean |
WidgetLCAUtil.hasChanged(Widget widget,
java.lang.String property,
java.lang.Object newValue,
java.lang.Object defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the
processing of the current request and thus the changes must be rendered in
the response.
|
void |
IWidgetAdapter.markDisposed(Widget widget)
Deprecated.
Use
WidgetAdapter instead of IWidgetAdapter . |
void |
WidgetAdapter.markDisposed(Widget widget)
Deprecated.
Notifies the receiver that the given
widget has been disposed of. |
static void |
WidgetLCAUtil.preserveBackground(Widget widget,
Color background)
Deprecated.
Preserves the value of the property
background of the
specified widget. |
static void |
WidgetLCAUtil.preserveBackground(Widget widget,
Color background,
boolean transparency)
Deprecated.
Preserves the value of the property
background of the
specified widget. |
static void |
WidgetLCAUtil.preserveBackgroundGradient(Widget widget)
Deprecated.
Preserves the background gradient properties of the specified widget.
|
static void |
WidgetLCAUtil.preserveBounds(Widget widget,
Rectangle bounds)
Deprecated.
Preserves the value of the property
bounds of the
specified widget. |
static void |
WidgetLCAUtil.preserveCustomVariant(Widget widget)
Deprecated.
Preserves the value of the custom variant of the specified
widget.
|
static void |
WidgetLCAUtil.preserveData(Widget widget)
Deprecated.
Preserves custom data for the given widget.
|
static void |
WidgetLCAUtil.preserveEnabled(Widget widget,
boolean enabled)
Deprecated.
Preserves the value of the property
enabled of the specified
widget. |
static void |
WidgetLCAUtil.preserveFont(Widget widget,
Font font)
Deprecated.
Preserves the value of the property
font of the specified
widget. |
static void |
WidgetLCAUtil.preserveForeground(Widget widget,
Color foreground)
Deprecated.
Preserves the value of the property
foreground of the
specified widget. |
static void |
WidgetLCAUtil.preserveHelpListener(Widget widget)
Deprecated.
Preserves whether the given
widget has one or more
HelpListener s attached. |
static void |
WidgetLCAUtil.preserveListener(Widget widget,
java.lang.String listener,
boolean value)
Deprecated.
Preserves the value of the listener of the specified widget.
|
static void |
WidgetLCAUtil.preserveProperty(Widget widget,
java.lang.String property,
boolean value)
Deprecated.
Preserves the value of the property of the specified widget.
|
static void |
WidgetLCAUtil.preserveProperty(Widget widget,
java.lang.String property,
int value)
Deprecated.
Preserves the value of the property of the specified widget.
|
static void |
WidgetLCAUtil.preserveProperty(Widget widget,
java.lang.String property,
java.lang.Object value)
Deprecated.
Preserves the value of the property of the specified widget.
|
static void |
WidgetLCAUtil.preserveRoundedBorder(Widget widget)
Deprecated.
Preserves the rounded border properties of the specified widget.
|
static void |
WidgetLCAUtil.preserveToolTipText(Widget widget,
java.lang.String toolTip)
Deprecated.
Preserves the value of the property
toolTipText of the
specified widget. |
abstract void |
AbstractWidgetLCA.preserveValues(Widget widget)
Deprecated.
|
void |
WidgetLifeCycleAdapter.preserveValues(Widget widget)
Deprecated.
Preserves the current state of the widget in order to be able to keep track of changes.
|
static void |
ControlLCAUtil.processDefaultSelection(Widget widget,
Item item)
Deprecated.
|
static void |
WidgetLCAUtil.processHelp(Widget widget)
Deprecated.
Process a
HelpEvent if the current request specifies that
there occurred a help event for the given widget . |
static void |
ControlLCAUtil.processSelection(Widget widget,
Item item,
boolean readBounds)
Deprecated.
|
static Rectangle |
WidgetLCAUtil.readBounds(Widget widget,
Rectangle defaultValue)
Deprecated.
Reads the bounds of the specified widget from the current request.
|
void |
AbstractWidgetLCA.readData(Widget widget)
Deprecated.
|
void |
WidgetLifeCycleAdapter.readData(Widget widget)
Deprecated.
Reads changes for this widget from the message that has been received from the client.
|
static java.lang.String |
WidgetLCAUtil.readEventPropertyValue(Widget widget,
java.lang.String eventName,
java.lang.String property)
Deprecated.
Reads the value of the specified event property for the specified widget from the message
sent by the client that is currently processed.
|
static java.lang.String |
WidgetLCAUtil.readPropertyValue(Widget widget,
java.lang.String property)
Deprecated.
Reads the value of the specified property for the specified widget from the message
sent by the client that is currently processed.
|
void |
AbstractWidgetLCA.render(Widget widget)
Deprecated.
|
void |
WidgetLifeCycleAdapter.render(Widget widget)
Deprecated.
Renders the changes that have been made to this widget to the message that will be sent to the
client.
|
static void |
WidgetLCAUtil.renderBackground(Widget widget,
Color newColor)
Deprecated.
Determines whether the property
background of the given
widget has changed during the processing of the current request and if so,
writes a protocol message to the response that updates the client-side
background property of the specified widget. |
static void |
WidgetLCAUtil.renderBackground(Widget widget,
Color background,
boolean transparency)
Deprecated.
Determines whether the property
background of the given
widget has changed during the processing of the current request and if so,
writes a protocol message to the response that updates the client-side
background property of the specified widget. |
static void |
WidgetLCAUtil.renderBackgroundGradient(Widget widget)
Deprecated.
Determines whether the background gradient properties of the
given widget have changed during the processing of the current request and
if so, writes a protocol message to the response that updates the client-side
background gradient properties of the specified widget.
|
static void |
WidgetLCAUtil.renderBounds(Widget widget,
Rectangle bounds)
Deprecated.
Determines whether the bounds of the given widget have changed during the
processing of the current request and if so, writes a set operation the
response that updates the client-side bounds of the specified widget.
|
abstract void |
AbstractWidgetLCA.renderChanges(Widget widget)
Deprecated.
Writes a message to the response that applies the state changes of
the widget to the client.
|
static void |
WidgetLCAUtil.renderClientListeners(Widget widget)
Deprecated.
Renders client listeners that have been added to or removed from the given widget in the
current request.
|
static void |
WidgetLCAUtil.renderCustomVariant(Widget widget)
Deprecated.
Determines whether the custom variant of the given widget
has changed during the processing of the current request and if so, writes
a protocol Message to the response that updates the client-side variant.
|
static void |
WidgetLCAUtil.renderData(Widget widget)
Deprecated.
Renders custom data changes for the given widget.
|
void |
AbstractWidgetLCA.renderDispose(Widget widget)
Deprecated.
Writes a message to the response that renders the disposal of the
widget.
|
static void |
WidgetLCAUtil.renderEnabled(Widget widget,
boolean enabled)
Deprecated.
Determines whether the property
enabled of the given widget
has changed during the processing of the current request and if so, writes
a protocol message to the response that updates the client-side enabled
property of the specified widget. |
static void |
WidgetLCAUtil.renderFont(Widget widget,
Font font)
Deprecated.
Determines whether the property
font of the given widget has
changed during the processing of the current request and if so, writes
JavaScript code to the response that updates the client-side font property
of the specified widget. |
static void |
WidgetLCAUtil.renderForeground(Widget widget,
Color newColor)
Deprecated.
Determines whether the property
foreground of the given
widget has changed during the processing of the current request and if so,
writes a protocol message to the response that updates the client-side
foreground property of the specified widget. |
abstract void |
AbstractWidgetLCA.renderInitialization(Widget widget)
Deprecated.
Writes a message to the response that creates a new widget instance
and initializes it.
|
static void |
WidgetLCAUtil.renderListener(Widget widget,
java.lang.String listener,
boolean newValue,
boolean defaultValue)
Deprecated.
Determines whether the listener of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side listener of the specified widget.
|
static void |
WidgetLCAUtil.renderListenHelp(Widget widget)
Deprecated.
Adds or removes client-side help listeners for the the given
widget as necessary. |
static void |
WidgetLCAUtil.renderMenu(Widget widget,
Menu menu)
Deprecated.
Determines whether the property
menu of the given widget has
changed during the processing of the current request and if so, writes
a protocol message to the response that updates the client-side menu property
of the specified widget. |
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
boolean[] newValue,
boolean[] defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
boolean newValue,
boolean defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Color[] newValue,
Color[] defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Color newValue,
Color defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Font[] newValue,
Font[] defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Image[] newValue,
Image[] defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Image newValue,
Image defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
int[] newValue,
int[] defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
java.lang.Integer newValue,
java.lang.Integer defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
int newValue,
int defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
java.lang.Object newValue,
java.lang.Object defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Point newValue,
Point defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Rectangle newValue,
Rectangle defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
java.lang.String[] newValue,
java.lang.String[] defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
java.lang.String newValue,
java.lang.String defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderProperty(Widget widget,
java.lang.String property,
Widget newValue,
Widget defaultValue)
Deprecated.
Determines whether the property of the given widget has changed during the processing of the
current request and if so, writes a protocol message to the response that updates the
client-side property of the specified widget.
|
static void |
WidgetLCAUtil.renderRoundedBorder(Widget widget)
Deprecated.
Determines whether the rounded border properties of the given widget has
changed during the processing of the current request and if so, writes
a protocol message to the response that updates the client-side rounded border
of the specified widget.
|
static void |
WidgetLCAUtil.renderToolTip(Widget widget,
java.lang.String toolTip)
Deprecated.
Determines whether the property
toolTip of the given widget
has changed during the processing of the current request and if so, writes
a protocol message to the response that updates the client-side toolTip
property of the specified widget. |
static boolean |
WidgetLCAUtil.wasEventSent(Widget widget,
java.lang.String eventName)
Deprecated.
Determines whether an event with the specified name was submitted for the
specified widget within the current message sent by the client.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonMapping.toJson(Widget widget)
Returns the JSON representation for the given Widget.
|
Modifier and Type | Class and Description |
---|---|
class |
DropDown
Instances of this class represent a list of items that are attached to a control (parent).
|
class |
FileUpload
A button-like widget allowing to select a file from the client's file system and to upload this
file to a given URL using HTTP POST.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
WidgetUtil.getId(Widget widget)
Returns the protocol ID of the given widget.
|
Modifier and Type | Class and Description |
---|---|
class |
Browser
Instances of this class implement the browser user interface
metaphor.
|
Constructor and Description |
---|
StatusTextEvent(Widget widget)
Constructs a new instance of this class.
|
Modifier and Type | Class and Description |
---|---|
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 |
ViewForm
Instances of this class implement a Composite that positions and sizes
children and allows programmatic control of layout and border parameters.
|
Modifier and Type | Field and Description |
---|---|
Widget |
CTabFolderEvent.item
The tab item for the operation.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Field and Description |
---|---|
Widget |
DropTargetEvent.item
If the associated control is a table or tree, this field contains the item
located at the cursor coordinates.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
Widget |
SelectionEvent.item
The item that was selected.
|
Widget |
TypedEvent.widget
the widget that issued the event
|
Modifier and Type | Class and Description |
---|---|
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 |
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
This class was introduced to be API compatible with SWT and does only
provide those methods that are absolutely necessary to serve this purpose.
|
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 is 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 |
TaskBar
Instances of this class represent the system task bar.
|
class |
TaskItem
Instances of this class represent a task item.
|
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 |
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.
|
Modifier and Type | Field and Description |
---|---|
Widget |
Event.item
the item that the event occurred in (can be null)
|
Widget |
Event.widget
the widget that issued the event
|
Constructor and 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.
|
Copyright (c) EclipseSource and others 2002, 2014.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0