Uses of Class
org.eclipse.swt.graphics.Rectangle
-
Packages that use Rectangle Package Description 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.information Provides an information provider add-on for anITextViewer
.org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those.org.eclipse.jface.text.source.projection This package provides the UI part for projection documents of which the most important part is the projection viewer.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.swt.accessibility SWT Accessibility.org.eclipse.swt.custom SWT Custom widgets.org.eclipse.swt.graphics SWT graphics classes.org.eclipse.swt.ole.win32 SWT Win32 OLE implementation classes.org.eclipse.swt.printing SWT Printing support classes.org.eclipse.swt.widgets SWT widget public API classes.org.eclipse.ui.forms.widgets Custom widgets and controls for forms-based parts.org.eclipse.ui.navigator Provides the Common Navigator framework.org.eclipse.ui.splash 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. -
-
Uses of Rectangle in org.eclipse.jface.fieldassist
Methods in org.eclipse.jface.fieldassist that return Rectangle Modifier and Type Method Description 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
IControlContentAdapter. getInsertionBounds(Control control)
Get the bounds (in pixels) of the insertion point for the control content.Rectangle
TextContentAdapter. getInsertionBounds(Control control)
-
Uses of Rectangle in org.eclipse.jface.layout
Methods in org.eclipse.jface.layout with parameters of type Rectangle Modifier and Type Method Description GridLayoutFactory
GridLayoutFactory. extendedMargins(Rectangle differenceRect)
Sets the margins for layouts created with this factory. -
Uses of Rectangle in org.eclipse.jface.preference
Fields in org.eclipse.jface.preference declared as Rectangle Modifier and Type Field Description 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 Modifier and Type Method Description static Rectangle
PreferenceConverter. getDefaultRectangle(IPreferenceStore store, 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, 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 Modifier and Type Method Description static void
PreferenceConverter. setDefault(IPreferenceStore store, 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, 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 Modifier and Type Method Description static Rectangle
StringConverter. asRectangle(String value)
Converts the given value into an SWT rectangle.static Rectangle
StringConverter. asRectangle(String value, Rectangle dflt)
Converts the given value into an SWT rectangle.Methods in org.eclipse.jface.resource with parameters of type Rectangle Modifier and Type Method Description static Rectangle
StringConverter. asRectangle(String value, Rectangle dflt)
Converts the given value into an SWT rectangle.static String
StringConverter. asString(Rectangle value)
Converts the given SWT rectangle object to a string. -
Uses of Rectangle in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return Rectangle Modifier and Type Method Description static Rectangle
JFaceTextUtil. computeArea(IRegion region, ITextViewer textViewer)
Determines the graphical area covered by the given text region in the given viewer.protected Rectangle
AbstractInformationControlManager. computeAvailableArea(Rectangle subjectArea, Rectangle bounds, AbstractInformationControlManager.Anchor anchor)
Computes the area available for an information control given an anchor and the subject area withinbounds
.Rectangle
AbstractInformationControl. computeTrim()
Computes the trim (status text and tool bar are considered as trim).Rectangle
DefaultInformationControl. computeTrim()
Rectangle
IInformationControlExtension3. computeTrim()
Computes the trim for this control.Rectangle
AbstractInformationControl. getBounds()
Rectangle
IInformationControlExtension3. getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent (or its display if its parent is null).protected Rectangle
AbstractInformationControlManager. getSubjectArea()
Returns the actual subject area.protected Rectangle
AbstractInformationControlManager. restoreInformationControlBounds()
Restores the information control's bounds.Methods in org.eclipse.jface.text with parameters of type Rectangle Modifier and Type Method Description protected Rectangle
AbstractInformationControlManager. computeAvailableArea(Rectangle subjectArea, Rectangle bounds, AbstractInformationControlManager.Anchor anchor)
Computes the area available for an information control given an anchor and the subject area withinbounds
.protected Point
AbstractInformationControlManager. computeInformationControlLocation(Rectangle subjectArea, Point controlSize)
Computes the location of the information control depending on the subject area and the size of the information control.protected Point
AbstractInformationControlManager. computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)
Computes the display location of the information control.protected Point
AbstractInformationControlManager. computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)
Computes the size constraints of the information control in points.protected void
AbstractInformationControlManager. setInformation(Object information, Rectangle subjectArea)
Sets the parameters of the information to be displayed.protected void
AbstractInformationControlManager. setInformation(String information, Rectangle subjectArea)
Sets the parameters of the information to be displayed.protected void
AbstractInformationControlManager. showInformationControl(Rectangle subjectArea)
Shows the information control and starts the information control closer.void
AbstractInformationControlManager.IInformationControlCloser. start(Rectangle subjectArea)
Tells this closer to start monitoring the subject and the information control.protected boolean
AbstractInformationControlManager. updateLocation(Point location, Point size, Rectangle displayArea, AbstractInformationControlManager.Anchor anchor)
Checks whether a control of the given size at the given location would be completely visible in the given display area when laid out by using the given anchor. -
Uses of Rectangle in org.eclipse.jface.text.information
Methods in org.eclipse.jface.text.information with parameters of type Rectangle Modifier and Type Method Description protected void
InformationPresenter. showInformationControl(Rectangle subjectArea)
-
Uses of Rectangle in org.eclipse.jface.text.source
Methods in org.eclipse.jface.text.source with parameters of type Rectangle Modifier and Type Method Description protected Point
AnnotationBarHoverManager. computeInformationControlLocation(Rectangle subjectArea, Point controlSize)
protected Point
AnnotationBarHoverManager. computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)
protected Point
AnnotationBarHoverManager. computeSizeConstraints(Control subjectControl, Rectangle subjectArea, IInformationControl informationControl)
static void
ImageUtilities. drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
Draws an image aligned inside the given rectangle on the given canvas.static void
ImageUtilities. drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
Draws an image aligned inside the given rectangle on the given canvas.void
IAnnotationAccessExtension. paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
Draws a graphical representation of the given annotation within the given bounds.void
IAnnotationPresentation. paint(GC gc, Canvas canvas, Rectangle bounds)
Implement this method to draw a graphical representation of this annotation within the given bounds.protected void
AnnotationBarHoverManager. showInformationControl(Rectangle subjectArea)
void
AnnotationBarHoverManager.Closer. start(Rectangle subjectArea)
Deprecated. -
Uses of Rectangle in org.eclipse.jface.text.source.projection
Methods in org.eclipse.jface.text.source.projection with parameters of type Rectangle Modifier and Type Method Description void
ProjectionAnnotation. paint(GC gc, Canvas canvas, Rectangle rectangle)
-
Uses of Rectangle in org.eclipse.jface.util
Methods in org.eclipse.jface.util that return Rectangle Modifier and Type Method Description static Rectangle
Geometry. add(Rectangle rect1, Rectangle rect2)
Returns a new Rectangle whose x, y, width, and height is the sum of the x, y, width, and height values of both rectangles respectively.static Rectangle
Geometry. copy(Rectangle toCopy)
Returns a copy of the given rectanglestatic Rectangle
Geometry. createDiffRectangle(int left, int right, int top, int bottom)
Returns a rectangle which, when added to another rectangle, will expand each side by the given number of units.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. subtract(Rectangle rect1, Rectangle rect2)
Returns a new difference Rectangle whose x, y, width, and height are equal to the difference of the corresponding attributes from the given rectanglesstatic 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 Modifier and Type Method Description static Rectangle
Geometry. add(Rectangle rect1, Rectangle rect2)
Returns a new Rectangle whose x, y, width, and height is the sum of the x, y, width, and height values of both rectangles respectively.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 rectanglestatic 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. expand(Rectangle rect, Rectangle differenceRect)
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 Pointstatic void
Geometry. moveInside(Rectangle inner, Rectangle outer)
Repositions the 'inner' rectangle to lie completely within the bounds of the 'outer' rectangle if possible.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 toCopystatic 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 newLocation)
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 sizestatic Rectangle
Geometry. subtract(Rectangle rect1, Rectangle rect2)
Returns a new difference Rectangle whose x, y, width, and height are equal to the difference of the corresponding attributes from the given rectanglesstatic 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.jface.viewers
Methods in org.eclipse.jface.viewers that return Rectangle Modifier and Type Method Description Rectangle
TableViewerRow. getBounds()
Rectangle
TableViewerRow. getBounds(int columnIndex)
Rectangle
TreeViewerRow. getBounds()
Rectangle
TreeViewerRow. getBounds(int columnIndex)
Rectangle
ViewerCell. getBounds()
Get the bounds of the cell.protected Rectangle
ViewerDropAdapter. getBounds(Item item)
Returns the bounds of the given SWT tree or table item.abstract Rectangle
ViewerRow. getBounds()
Return the bounds for the whole item.abstract Rectangle
ViewerRow. getBounds(int columnIndex)
Get the bounds of the entry at the columnIndex,Rectangle
TableViewerRow. getImageBounds(int index)
Rectangle
TreeViewerRow. getImageBounds(int index)
Rectangle
ViewerCell. getImageBounds()
Returns the location and bounds of the area where the image is drawnRectangle
ViewerRow. getImageBounds(int index)
Returns the location and bounds of the area where the image is drawn.Rectangle
TableViewerRow. getTextBounds(int index)
Rectangle
TreeViewerRow. getTextBounds(int index)
Rectangle
ViewerCell. getTextBounds()
The location and bounds of the area where the text is drawn depends on various things (image displayed, control with SWT.CHECK)Rectangle
ViewerRow. getTextBounds(int index)
The location and bounds of the area where the text is drawn depends on various things (image displayed, control with SWT.CHECK) -
Uses of Rectangle in org.eclipse.jface.window
Methods in org.eclipse.jface.window that return Rectangle Modifier and Type Method Description protected Rectangle
Window. getConstrainedShellBounds(Rectangle preferredSize)
Given the desired position of the window, this method returns an adjusted position such that the window is no larger than its monitor, and does not extend beyond the edge of the monitor.Methods in org.eclipse.jface.window with parameters of type Rectangle Modifier and Type Method Description protected Rectangle
Window. getConstrainedShellBounds(Rectangle preferredSize)
Given the desired position of the window, this method returns an adjusted position such that the window is no larger than its monitor, and does not extend beyond the edge of the monitor. -
Uses of Rectangle in org.eclipse.jface.wizard
Methods in org.eclipse.jface.wizard that return Rectangle Modifier and Type Method Description Rectangle
WizardDialog.PageContainerFillLayout. getClientArea(Composite c)
Returns the client area for the given composite according to this layout. -
Uses of Rectangle in org.eclipse.swt.accessibility
Fields in org.eclipse.swt.accessibility declared as Rectangle Modifier and Type Field Description Rectangle[]
AccessibleTextEvent. rectangles
-
Uses of Rectangle in org.eclipse.swt.custom
Methods in org.eclipse.swt.custom that return Rectangle Modifier and Type Method Description Rectangle
CTabFolder. computeTrim(int x, int y, int width, int height)
protected Rectangle
CTabFolderRenderer. computeTrim(int part, int state, int x, int y, int width, int height)
Given a desired client area for the part (as described by the arguments), returns the bounding rectangle which would be required to produce that client area.Rectangle
ViewForm. computeTrim(int x, int y, int width, int height)
Rectangle
StyledText. getBlockSelectionBounds()
Returns the block selection bounds.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()
Rectangle
StyledText. getTextBounds(int start, int end)
Returns the smallest bounding rectangle that includes the characters between two offsets.Methods in org.eclipse.swt.custom with parameters of type Rectangle Modifier and Type Method Description protected void
CTabFolderRenderer. draw(int part, int state, Rectangle bounds, GC gc)
Draw a specifiedpart
of the CTabFolder using the providedbounds
andGC
.String
PopupList. open(Rectangle rect)
Launches the Popup List, waits for an item to be selected and then closes the PopupList.void
StyledText. setBlockSelectionBounds(Rectangle rect)
Sets the block selection bounds. -
Uses of Rectangle in org.eclipse.swt.graphics
Methods in org.eclipse.swt.graphics that return Rectangle Modifier and Type Method Description Rectangle
Device. getBounds()
Returns a rectangle describing the receiver's size and location.Rectangle
Image. getBounds()
Returns the bounds of the receiver.Rectangle
Region. getBounds()
Returns a rectangle which represents the rectangular union of the collection of polygons the receiver maintains to describe its area.Rectangle
TextLayout. getBounds()
Returns the bounds of the receiver.Rectangle
TextLayout. getBounds(int start, int end)
Returns the bounds for the specified range of characters.Rectangle
Image. getBoundsInPixels()
Deprecated.This API doesn't serve the purpose in an environment having multiple monitors with different DPIs, hence deprecated.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
TextLayout. getLineBounds(int lineIndex)
Returns the bounds of the line for the specified line index.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 Modifier and Type Method 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
Region. add(Rectangle rect)
Adds the given rectangle to the collection of polygons the receiver maintains to describe its area.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.void
Region. intersect(Rectangle rect)
Intersects the given rectangle to the collection of polygons the receiver maintains to describe its area.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)
Returnstrue
if the given rectangle intersects with the receiver andfalse
otherwise.boolean
Region. intersects(Rectangle rect)
Returnstrue
if the given rectangle intersects with any of the polygons the receiver maintains to describe its area andfalse
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.void
Region. subtract(Rectangle rect)
Subtracts the given rectangle from the collection of polygons the receiver maintains to describe its area.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 Constructor Description 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.ole.win32
Methods in org.eclipse.swt.ole.win32 that return Rectangle Modifier and Type Method Description Rectangle
OleClientSite. getIndent()
Returns the indent value that would be used to compute the clipping area of the active X object.Methods in org.eclipse.swt.ole.win32 with parameters of type Rectangle Modifier and Type Method Description void
OleClientSite. setIndent(Rectangle newIndent)
The indent value is no longer being used by the client site. -
Uses of Rectangle in org.eclipse.swt.printing
Methods in org.eclipse.swt.printing that return Rectangle Modifier and Type Method Description Rectangle
Printer. computeTrim(int x, int y, int width, int height)
Given a client area (as described by the arguments), returns a rectangle, relative to the client area's coordinates, that is the client area expanded by the printer's trim (or minimum margins).Rectangle
Printer. getBounds()
Returns a rectangle describing the receiver's size and location.Rectangle
Printer. getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data. -
Uses of Rectangle in org.eclipse.swt.widgets
Methods in org.eclipse.swt.widgets that return Rectangle Modifier and Type Method Description 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
Caret. getBounds()
Returns a rectangle describing the receiver's size and location relative to its parent (or its display if its parent is null).Rectangle
Control. getBounds()
Returns a rectangle describing the receiver's size and location in points 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 size and location of the receiver's text 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
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 size and location of the receiver's text relative to its parent.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
Display. getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data.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
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[]
Tracker. getRectangles()
Returns the bounds that are being drawn, expressed relative to the parent widget.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
ScrollBar. getThumbBounds()
Returns a rectangle describing the size and location of the receiver's thumb relative to its parent.Rectangle
ScrollBar. getThumbTrackBounds()
Returns a rectangle describing the size and location of the receiver's thumb track relative to its parent.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 Modifier and Type Method Description Rectangle
Display. map(Control from, Control to, Rectangle rectangle)
Maps a point from one coordinate system to another.void
Caret. setBounds(Rectangle rect)
Sets the receiver's size and location to the rectangular area specified by the argument.void
Control. setBounds(Rectangle rect)
Sets the receiver's size and location in points to the rectangular area specified by the argument.void
Event. setBounds(Rectangle rect)
Sets the bounds.void
Tracker. setRectangles(Rectangle[] rectangles)
Specifies the rectangles that should be drawn, expressed relative to the parent widget. -
Uses of Rectangle in org.eclipse.ui.forms.widgets
Methods in org.eclipse.ui.forms.widgets with parameters of type Rectangle Modifier and Type Method Description protected void
ImageHyperlink. paintHyperlink(GC gc, Rectangle bounds)
protected void
Hyperlink. paintText(GC gc, Rectangle bounds)
Paints the hyperlink text in provided bounding rectangle.void
SizeCache. setBounds(Rectangle bounds)
-
Uses of Rectangle in org.eclipse.ui.navigator
Methods in org.eclipse.ui.navigator that return Rectangle Modifier and Type Method Description Rectangle
CommonDropAdapter. getBounds(Item item)
-
Uses of Rectangle in org.eclipse.ui.splash
Methods in org.eclipse.ui.splash with parameters of type Rectangle Modifier and Type Method Description protected void
BasicSplashHandler. setMessageRect(Rectangle messageRect)
Set the location of the message text in the splash.protected void
BasicSplashHandler. setProgressRect(Rectangle progressRect)
Set the location of the progress bar in the splash. -
Uses of Rectangle in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor with parameters of type Rectangle Modifier and Type Method Description static void
ImageUtilities. drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
Deprecated.As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int)
static void
ImageUtilities. drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
Deprecated.As of 3.0, replaced byImageUtilities.drawImage(Image, GC, Canvas, Rectangle, int, int)
void
DefaultMarkerAnnotationAccess. paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
void
DefaultRangeIndicator. paint(GC gc, Canvas canvas, Rectangle bounds)
void
MarkerAnnotation. paint(GC gc, Canvas canvas, Rectangle r)
Deprecated.
-