Eclipse Platform
2.1

Uses of Class
org.eclipse.swt.graphics.Rectangle

Packages that use Rectangle
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, manipulating, displaying and editing text documents. 
org.eclipse.jface.text.information Provides an information provider add-on for an ITextViewer
org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer
org.eclipse.jface.viewers Provides a framework for viewers, which are model-based content adapters for SWT widgets. 
org.eclipse.jface.wizard Provides a framework for wizards. 
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.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

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, 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
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
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
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
protected  Rectangle AbstractInformationControlManager.getSubjectArea()
          Returns the actual subject area.
 

Methods in org.eclipse.jface.text with parameters of type Rectangle
protected  void AbstractInformationControlManager.setInformation(String information, Rectangle subjectArea)
          Sets the parameters of the information to be displayed.
protected  void AbstractInformationControlManager.setInformation(Object information, Rectangle subjectArea)
          Sets the parameters of the information to be displayed.
protected  Point AbstractInformationControlManager.computeLocation(Rectangle subjectArea, Point controlSize, AbstractInformationControlManager.Anchor anchor)
          Computes the display location of 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.
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  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.
 

Uses of Rectangle in org.eclipse.jface.text.information
 

Methods in org.eclipse.jface.text.information with parameters of type Rectangle
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
 void ProjectionAnnotation.paint(GC gc, Canvas canvas, Rectangle rectangle)
           
protected static void Annotation.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Convenience method for drawing an image aligned inside a rectangle.
protected static void Annotation.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Convenience method for drawing an image aligned inside a rectangle.
abstract  void Annotation.paint(GC gc, Canvas canvas, Rectangle bounds)
          Implement this method to draw a graphical representation of this annotation within the given bounds.
 

Uses of Rectangle in org.eclipse.jface.viewers
 

Methods in org.eclipse.jface.viewers that return Rectangle
protected  Rectangle ViewerDropAdapter.getBounds(Item item)
          Returns the bounds of the given SWT tree or table item.
 

Uses of Rectangle in org.eclipse.jface.wizard
 

Methods in org.eclipse.jface.wizard that return Rectangle
 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.custom
 

Methods in org.eclipse.swt.custom that return Rectangle
 Rectangle ViewForm.computeTrim(int x, int y, int width, int height)
           
 Rectangle ViewForm.getClientArea()
           
 Rectangle TableTreeItem.getBounds(int index)
          Returns a rectangle describing the receiver's size and location relative to its parent.
 Rectangle TableTree.computeTrim(int x, int y, int width, int height)
           
 Rectangle TableTree.getClientArea()
           
 Rectangle CTabItem.getBounds()
          Returns a rectangle describing the receiver's size and location relative to its parent.
 Rectangle CTabFolder.computeTrim(int x, int y, int width, int height)
           
 Rectangle CTabFolder.getClientArea()
           
 

Methods in org.eclipse.swt.custom with parameters of type Rectangle
 String PopupList.open(Rectangle rect)
          Launches the Popup List, waits for an item to be selected and then closes PopupList.
 

Uses of Rectangle in org.eclipse.swt.graphics
 

Methods in org.eclipse.swt.graphics that return Rectangle
 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.
 Rectangle Region.getBounds()
          Returns a rectangle which represents the rectangular union of the collection of rectangles the receiver maintains to describe its area.
 Rectangle Image.getBounds()
          Returns the bounds of the receiver.
 Rectangle GC.getClipping()
          Returns the bounding rectangle of the receiver's clipping region.
 Rectangle Device.getBounds()
          Returns a rectangle describing the receiver's size and location.
 Rectangle Device.getClientArea()
          Returns a rectangle which describes the area of the receiver which is capable of displaying data.
 

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.
 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.
 void Region.add(Rectangle rect)
          Adds the given rectangle to the collection of rectangles the receiver maintains to describe its area.
 boolean Region.intersects(Rectangle rect)
          Returns true if the given rectangle intersects with any of the rectangles the receiver mainains to describe its area and false otherwise.
 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 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.
 

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.ole.win32
 

Methods in org.eclipse.swt.ole.win32 that return Rectangle
 Rectangle OleClientSite.getIndent()
           
 

Methods in org.eclipse.swt.ole.win32 with parameters of type Rectangle
 void OleClientSite.setIndent(Rectangle newIndent)
           
 

Uses of Rectangle in org.eclipse.swt.printing
 

Methods in org.eclipse.swt.printing that return Rectangle
 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.
 Rectangle Printer.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.
 

Uses of Rectangle in org.eclipse.swt.widgets
 

Methods in org.eclipse.swt.widgets that return Rectangle
 Rectangle Event.getBounds()
          Gets the bounds.
 Rectangle TreeItem.getBounds()
          Returns a rectangle describing the receiver's size and location relative to its parent.
 Rectangle[] Tracker.getRectangles()
          Returns the bounds that are being drawn, expressed relative to the parent widget.
 Rectangle ToolItem.getBounds()
          Returns a rectangle describing the receiver's size and location relative to its parent.
 Rectangle ToolBar.computeTrim(int x, int y, int width, int height)
           
 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 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 TabFolder.computeTrim(int x, int y, int width, int height)
           
 Rectangle TabFolder.getClientArea()
           
 Rectangle Shell.getBounds()
           
 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 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 Group.computeTrim(int x, int y, int width, int height)
           
 Rectangle Group.getClientArea()
           
 Rectangle Display.getBounds()
          Returns a rectangle describing the receiver's size and location.
 Rectangle Display.getClientArea()
          Returns a rectangle which describes the area of the receiver which is capable of displaying data.
 Rectangle Decorations.computeTrim(int x, int y, int width, int height)
           
 Rectangle Decorations.getBounds()
           
 Rectangle Decorations.getClientArea()
           
 Rectangle CoolItem.getBounds()
          Returns a rectangle describing the receiver's size and location relative to its parent.
 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).
 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).
 

Methods in org.eclipse.swt.widgets with parameters of type Rectangle
 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.
 void Control.setBounds(Rectangle rect)
          Sets the receiver's size and location to the rectangular area specified by the argument.
 void Caret.setBounds(Rectangle rect)
          Sets the receiver's size and location to the rectangular area specified by the argument.
 

Uses of Rectangle in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor with parameters of type Rectangle
 void MarkerAnnotation.paint(GC gc, Canvas canvas, Rectangle r)
           
 void DefaultRangeIndicator.paint(GC gc, Canvas canvas, Rectangle bounds)
           
 


Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.