Modifier and Type | Method and Description |
---|---|
Rectangle |
GridViewerRow.getBounds() |
Rectangle |
GridViewerRow.getBounds(int columnIndex) |
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
GridEditor.computeBounds()
Returns the bounds of the editor.
|
Rectangle |
GridItem.getBounds(int columnIndex)
Returns a rectangle describing the receiver's size and location relative
to its parent at a column in the table.
|
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 | 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. |
void |
GC.setClipping(Rectangle rect)
Sets the area of the receiver which can be changed
by drawing operations to the rectangular area specified
by the argument.
|
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, 2015.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0