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 Rectangle |
WidgetLCAUtil.readBounds(java.lang.String widgetId,
Rectangle defaultValue)
Deprecated.
Reads the bounds of the widget specified by its id from the current
request.
|
static Rectangle |
WidgetLCAUtil.readBounds(Widget widget,
Rectangle defaultValue)
Deprecated.
Reads the bounds of the specified widget from the current request.
|
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 void |
WidgetLCAUtil.preserveBounds(Widget widget,
Rectangle bounds)
Deprecated.
Preserves the value of the property
bounds of the
specified widget. |
static Rectangle |
WidgetLCAUtil.readBounds(java.lang.String widgetId,
Rectangle defaultValue)
Deprecated.
Reads the bounds of the widget specified by its id from the current
request.
|
static Rectangle |
WidgetLCAUtil.readBounds(Widget widget,
Rectangle defaultValue)
Deprecated.
Reads the bounds of the specified widget from the current request.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static Rectangle |
JsonMapping.readRectangle(JsonValue value)
Returns an instance of Rectangle for the given JSON representation.
|
Modifier and Type | Method and Description |
---|---|
static JsonValue |
JsonMapping.toJson(Rectangle rect)
Returns the JSON representation for the given Rectangle.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
ControlThemeAdapter.getPadding(Control control)
Returns the padding of the specified control.
|
Modifier and Type | Field and Description |
---|---|
Rectangle[] |
AccessibleTextEvent.rectangles |
Modifier and Type | Method and Description |
---|---|
Rectangle |
CTabFolder.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
ViewForm.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
CTabItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
CBanner.getClientArea() |
Rectangle |
CTabFolder.getClientArea() |
Rectangle |
ViewForm.getClientArea() |
Modifier and Type | Method and Description |
---|---|
Rectangle |
Device.getBounds()
Returns a rectangle describing the receiver's size and location.
|
Rectangle |
Image.getBounds()
Returns the bounds of the receiver.
|
Rectangle |
Device.getClientArea()
Returns a rectangle which describes the area of the receiver which is
capable of displaying data.
|
Rectangle |
GC.getClipping()
Returns the bounding rectangle of the receiver's clipping
region.
|
Rectangle |
Rectangle.intersection(Rectangle rect)
Returns a new rectangle which represents the intersection
of the receiver and the given rectangle.
|
Rectangle |
Rectangle.union(Rectangle rect)
Returns a new rectangle which represents the union of
the receiver and the given rectangle.
|
Modifier and Type | Method and Description |
---|---|
void |
Rectangle.add(Rectangle rect)
Destructively replaces the x, y, width and height values
in the receiver with ones which represent the union of the
rectangles specified by the receiver and the given rectangle.
|
void |
GC.drawRectangle(Rectangle rect)
Draws the outline of the specified rectangle, using the receiver's
foreground color.
|
void |
GC.fillRectangle(Rectangle rect)
Fills the interior of the specified rectangle, using the receiver's
background color.
|
void |
Rectangle.intersect(Rectangle rect)
Destructively replaces the x, y, width and height values
in the receiver with ones which represent the intersection of the
rectangles specified by the receiver and the given rectangle.
|
Rectangle |
Rectangle.intersection(Rectangle rect)
Returns a new rectangle which represents the intersection
of the receiver and the given rectangle.
|
boolean |
Rectangle.intersects(Rectangle rect)
Returns
true if the given rectangle intersects
with the receiver and false otherwise. |
Rectangle |
Rectangle.union(Rectangle rect)
Returns a new rectangle which represents the union of
the receiver and the given rectangle.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Group.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
Scrollable.computeTrim(int x,
int y,
int width,
int height)
Given a desired client area for the receiver
(as described by the arguments), returns the bounding
rectangle which would be required to produce that client
area.
|
Rectangle |
Shell.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
Spinner.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
TabFolder.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
Text.computeTrim(int x,
int y,
int width,
int height) |
Rectangle |
Control.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent (or its display if its parent is null),
unless the receiver is a shell.
|
Rectangle |
CoolItem.getBounds()
Returns a rectangle describing the receiver's size and location relative to
its parent.
|
Rectangle |
Display.getBounds()
Returns a rectangle describing the receiver's size and location.
|
Rectangle |
Event.getBounds()
Gets the bounds.
|
Rectangle |
Monitor.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its device.
|
Rectangle |
TabItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
TableItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
ToolItem.getBounds()
Returns a rectangle describing the receiver's size and location
relative to its parent.
|
Rectangle |
TouchSource.getBounds()
Returns the bounding rectangle of the device.
|
Rectangle |
TreeItem.getBounds()
Returns a rectangle describing the receiver's size and location relative to
its parent.
|
Rectangle |
TableItem.getBounds(int index)
Returns a rectangle describing the receiver's size and location
relative to its parent at a column in the table.
|
Rectangle |
TreeItem.getBounds(int index)
Returns a rectangle describing the receiver's size and location relative to
its parent at a column in the tree.
|
Rectangle |
Group.getClientArea() |
Rectangle |
Monitor.getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data.
|
Rectangle |
Scrollable.getClientArea()
Returns a rectangle which describes the area of the
receiver which is capable of displaying data (that is,
not covered by the "trimmings").
|
Rectangle |
Shell.getClientArea() |
Rectangle |
TabFolder.getClientArea() |
Rectangle |
TableItem.getImageBounds(int index)
Returns a rectangle describing the size and location
relative to its parent of an image at a column in the
table.
|
Rectangle |
TreeItem.getImageBounds(int index)
Returns a rectangle describing the size and location relative to its parent
of an image at a column in the tree.
|
Rectangle |
TableItem.getTextBounds(int index)
Returns a rectangle describing the size and location
relative to its parent of the text at a column in the
table.
|
Rectangle |
TreeItem.getTextBounds(int index)
Returns a rectangle describing the size and location
relative to its parent of the text at a column in the
tree.
|
Rectangle |
Display.map(Control from,
Control to,
int x,
int y,
int width,
int height)
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.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Display.map(Control from,
Control to,
Rectangle rectangle)
Maps a point from one coordinate system to another.
|
void |
Control.setBounds(Rectangle bounds)
Sets the receiver's size and location to the rectangular
area specified by the argument.
|
void |
DateTime.setBounds(Rectangle bounds) |
void |
Event.setBounds(Rectangle rect)
Sets the bounds.
|
void |
Shell.setBounds(Rectangle bounds) |
void |
ToolBar.setBounds(Rectangle bounds) |
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