|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Rectangle | |
---|---|
org.eclipse.ercp.swt.mobile | SWT Mobile Extensions Package Specification This package contains classes which are suitable for mobile devices. |
org.eclipse.ercp.update.views | |
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.util | Provides useful building blocks used throughout JFace, including property change events, a listener list implementation, and runtime checked assertions. |
org.eclipse.swt.graphics | SWT graphics classes. |
org.eclipse.swt.widgets | SWT widget public API classes. |
org.eclipse.ui.presentations |
Uses of Rectangle in org.eclipse.ercp.swt.mobile |
---|
Methods in org.eclipse.ercp.swt.mobile that return Rectangle | |
---|---|
Rectangle |
SortedList.getBounds()
|
Rectangle |
Screen.getBounds()
Returns the bounds of the screen. |
Rectangle |
TaskTip.LocationHandle.getShellBounds()
|
Methods in org.eclipse.ercp.swt.mobile with parameters of type Rectangle | |
---|---|
void |
SortedList.setBounds(Rectangle rect)
|
Uses of Rectangle in org.eclipse.ercp.update.views |
---|
Methods in org.eclipse.ercp.update.views that return Rectangle | |
---|---|
Rectangle |
WrappedLabel.computeTrim(int x,
int y,
int width,
int height)
|
Rectangle |
ScrolledText.computeTrim(int x,
int y,
int width,
int height)
|
Uses of Rectangle in org.eclipse.jface.preference |
---|
Fields in org.eclipse.jface.preference declared as Rectangle | |
---|---|
static Rectangle |
PreferenceConverter.RECTANGLE_DEFAULT_DEFAULT
The default-default value for rectangle preferences (the empty rectangle (0,0,0,0) ). |
Methods in org.eclipse.jface.preference that return Rectangle | |
---|---|
static Rectangle |
PreferenceConverter.getDefaultRectangle(IPreferenceStore store,
java.lang.String name)
Returns the default value for the rectangle-valued preference with the given name in the given preference store. |
static Rectangle |
PreferenceConverter.getRectangle(IPreferenceStore store,
java.lang.String name)
Returns the current value of the rectangle-valued preference with the given name in the given preference store. |
Methods in org.eclipse.jface.preference with parameters of type Rectangle | |
---|---|
static void |
PreferenceConverter.setDefault(IPreferenceStore store,
java.lang.String name,
Rectangle value)
Sets the default value of the preference with the given name in the given preference store. |
static void |
PreferenceConverter.setValue(IPreferenceStore store,
java.lang.String name,
Rectangle value)
Sets the current value of the preference with the given name in the given preference store. |
Uses of Rectangle in org.eclipse.jface.resource |
---|
Methods in org.eclipse.jface.resource that return Rectangle | |
---|---|
static Rectangle |
StringConverter.asRectangle(java.lang.String value)
Converts the given value into an SWT rectangle. |
static Rectangle |
StringConverter.asRectangle(java.lang.String value,
Rectangle dflt)
Converts the given value into an SWT rectangle. |
Methods in org.eclipse.jface.resource with parameters of type Rectangle | |
---|---|
static Rectangle |
StringConverter.asRectangle(java.lang.String value,
Rectangle dflt)
Converts the given value into an SWT rectangle. |
static java.lang.String |
StringConverter.asString(Rectangle value)
Converts the given SWT rectangle object to a string. |
Uses of Rectangle in org.eclipse.jface.util |
---|
Methods in org.eclipse.jface.util that return Rectangle | |
---|---|
static Rectangle |
Geometry.copy(Rectangle toCopy)
Returns a copy of the given rectangle |
static Rectangle |
Geometry.createRectangle(Point position,
Point size)
Returns a new rectangle with the given position and dimensions, expressed as points. |
static Rectangle |
Geometry.getExtrudedEdge(Rectangle toExtrude,
int size,
int orientation)
Extrudes the given edge inward by the given distance. |
static Rectangle |
Geometry.toControl(Control coordinateSystem,
Rectangle toConvert)
Converts the given rectangle from display coordinates to the local coordinate system of the given object into display coordinates. |
static Rectangle |
Geometry.toDisplay(Control coordinateSystem,
Rectangle toConvert)
Converts the given rectangle from the local coordinate system of the given object into display coordinates. |
Methods in org.eclipse.jface.util with parameters of type Rectangle | |
---|---|
static Point |
Geometry.centerPoint(Rectangle rect)
Returns the point in the center of the given rectangle. |
static Rectangle |
Geometry.copy(Rectangle toCopy)
Returns a copy of the given rectangle |
static void |
Geometry.expand(Rectangle rect,
int left,
int right,
int top,
int bottom)
Moves each edge of the given rectangle outward by the given amount. |
static void |
Geometry.flipXY(Rectangle toFlip)
Swaps the X and Y coordinates of the given rectangle, along with the height and width. |
static int |
Geometry.getClosestSide(Rectangle boundary,
Point toTest)
Returns the edge of the given rectangle is closest to the given point. |
static int |
Geometry.getCoordinate(Rectangle toMeasure,
boolean width)
Returns the x or y coordinates of the given rectangle. |
static int |
Geometry.getDimension(Rectangle toMeasure,
boolean width)
Returns the height or width of the given rectangle. |
static int |
Geometry.getDistanceFrom(Rectangle boundary,
Point toTest)
Returns the distance from the point to the nearest edge of the given rectangle. |
static int |
Geometry.getDistanceFromEdge(Rectangle rectangle,
Point testPoint,
int edgeOfInterest)
Returns the distance of the given point from a particular side of the given rectangle. |
static Rectangle |
Geometry.getExtrudedEdge(Rectangle toExtrude,
int size,
int orientation)
Extrudes the given edge inward by the given distance. |
static Point |
Geometry.getLocation(Rectangle toQuery)
Returns the x,y position of the given rectangle. |
static int |
Geometry.getRelativePosition(Rectangle boundary,
Point toTest)
Determines where the given point lies with respect to the given rectangle. |
static Point |
Geometry.getSize(Rectangle rectangle)
Returns the size of the rectangle, as a Point |
static void |
Geometry.moveRectangle(Rectangle rect,
Point delta)
Moves the given rectangle by the given delta. |
static void |
Geometry.normalize(Rectangle rect)
Normalizes the given rectangle. |
static void |
Geometry.set(Rectangle result,
Rectangle toCopy)
Sets result equal to toCopy |
static void |
Geometry.setCoordinate(Rectangle toSet,
boolean width,
int newCoordinate)
Sets one coordinate of the given rectangle. |
static void |
Geometry.setDimension(Rectangle toSet,
boolean width,
int newCoordinate)
Sets one dimension of the given rectangle. |
static void |
Geometry.setLocation(Rectangle rectangle,
Point newSize)
Sets the x,y position of the given rectangle. |
static void |
Geometry.setSize(Rectangle rectangle,
Point newSize)
Sets the size of the given rectangle to the given size |
static Rectangle |
Geometry.toControl(Control coordinateSystem,
Rectangle toConvert)
Converts the given rectangle from display coordinates to the local coordinate system of the given object into display coordinates. |
static Rectangle |
Geometry.toDisplay(Control coordinateSystem,
Rectangle toConvert)
Converts the given rectangle from the local coordinate system of the given object into display coordinates. |
Uses of Rectangle in org.eclipse.swt.graphics |
---|
Methods in org.eclipse.swt.graphics that return Rectangle | |
---|---|
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 |
Drawable.internal_getBounds()
Call's the object's appropriate getBounds() function. |
Rectangle |
Image.internal_getBounds()
|
Rectangle |
Drawable.internal_getDefaultClipping()
Returns the appropriate clipping based on the type of object implementing Drawable. |
Rectangle |
Image.internal_getDefaultClipping()
|
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. |
Methods in org.eclipse.swt.graphics with parameters of type Rectangle | |
---|---|
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. |
Constructors in org.eclipse.swt.graphics with parameters of type Rectangle | |
---|---|
Image(Device device,
Rectangle bounds)
Constructs an empty instance of this class with the width and height of the specified rectangle. |
Uses of Rectangle in org.eclipse.swt.widgets |
---|
Methods in org.eclipse.swt.widgets that return Rectangle | |
---|---|
Rectangle |
Combo.computeTrim(int x,
int y,
int width,
int height)
|
Rectangle |
List.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 |
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 |
Event.getBounds()
Gets the bounds. |
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 |
Combo.getClientArea()
|
Rectangle |
Display.getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data. |
Rectangle |
List.getClientArea()
|
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 |
Text.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 |
Control.internal_getBounds()
|
Rectangle |
Display.internal_getBounds()
|
Rectangle |
Control.internal_getDefaultClipping()
|
Rectangle |
Display.internal_getDefaultClipping()
|
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. |
Methods in org.eclipse.swt.widgets with parameters of type Rectangle | |
---|---|
Rectangle |
Display.map(Control from,
Control to,
Rectangle rectangle)
Maps a point from one coordinate system to another. |
void |
Control.setBounds(Rectangle rect)
Sets the receiver's size and location to the rectangular area specified by the argument. |
void |
Event.setBounds(Rectangle rect)
Sets the bounds. |
Uses of Rectangle in org.eclipse.ui.presentations |
---|
Methods in org.eclipse.ui.presentations with parameters of type Rectangle | |
---|---|
void |
IPresentablePart.setBounds(Rectangle bounds)
Sets the bounds of this part. |
abstract void |
StackPresentation.setBounds(Rectangle bounds)
Sets the bounding rectangle for this presentation. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |