Uses of Class
java.awt.Rectangle

Packages that use Rectangle
java.awt   
java.awt.event   
java.beans   
 

Uses of Rectangle in java.awt
 

Fields in java.awt declared as Rectangle
protected  Rectangle Polygon.bounds
          Bounds of the polygon.
 

Methods in java.awt that return Rectangle
 Rectangle Component.getBounds()
          Gets the bounds of this component in the form of a Rectangle object.
 Rectangle Component.bounds()
          Deprecated. As of JDK version 1.1, replaced by getBounds().
 Rectangle Component.getBounds(Rectangle rv)
          Store the bounds of this component into "return value" rv and return rv.
abstract  Rectangle Graphics.getClipBounds()
          Returns the bounding rectangle of the current clipping area.
 Rectangle Graphics.getClipRect()
          Deprecated. As of JDK version 1.1, replaced by getClipBounds().
 Rectangle Graphics.getClipBounds(Rectangle r)
          Returns the bounding rectangle of the current clipping area.
 Rectangle Shape.getBounds()
          Returns an integer Rectangle that completely encloses the Shape.
 Rectangle Polygon.getBounds()
          Gets the bounding box of this Polygon.
 Rectangle Polygon.getBoundingBox()
          Deprecated. As of JDK version 1.1, replaced by getBounds().
 Rectangle Rectangle.getBounds()
          Gets the bounding Rectangle of this Rectangle.
 Rectangle Rectangle.intersection(Rectangle r)
          Computes the intersection of this Rectangle with the specified Rectangle.
 Rectangle Rectangle.union(Rectangle r)
          Computes the union of this Rectangle with the specified Rectangle.
 

Methods in java.awt with parameters of type Rectangle
 void Component.setBounds(Rectangle r)
          Moves and resizes this component to conform to the new bounding rectangle r.
 Rectangle Component.getBounds(Rectangle rv)
          Store the bounds of this component into "return value" rv and return rv.
static PaintContext TexturePaintContext.getContext(java.awt.image.BufferedImage bufImg, java.awt.geom.AffineTransform xform, RenderingHints hints, Rectangle devBounds)
           
 PaintContext TexturePaint.createContext(java.awt.image.ColorModel cm, Rectangle deviceBounds, java.awt.geom.Rectangle2D userBounds, java.awt.geom.AffineTransform xform, RenderingHints hints)
          Creates and returns a context used to generate the color pattern.
 Rectangle Graphics.getClipBounds(Rectangle r)
          Returns the bounding rectangle of the current clipping area.
 PaintContext GradientPaint.createContext(java.awt.image.ColorModel cm, Rectangle deviceBounds, java.awt.geom.Rectangle2D userBounds, java.awt.geom.AffineTransform xform, RenderingHints hints)
          Creates and returns a context used to generate the color pattern.
 PaintContext Color.createContext(java.awt.image.ColorModel cm, Rectangle r, java.awt.geom.Rectangle2D r2d, java.awt.geom.AffineTransform xform, RenderingHints hints)
          Create and return a PaintContext used to generate a solid color pattern.
 PaintContext SystemColor.createContext(java.awt.image.ColorModel cm, Rectangle r, java.awt.geom.Rectangle2D r2d, java.awt.geom.AffineTransform xform, RenderingHints hints)
          Create and return a PaintContext used to generate a solid color pattern.
 PaintContext Paint.createContext(java.awt.image.ColorModel cm, Rectangle deviceBounds, java.awt.geom.Rectangle2D userBounds, java.awt.geom.AffineTransform xform, RenderingHints hints)
          Creates and returns a PaintContext used to generate the color pattern.
abstract  boolean Graphics2D.hit(Rectangle rect, Shape s, boolean onStroke)
          Checks whether or not the specified Shape intersects the specified Rectangle, which is in device space.
 void Rectangle.setBounds(Rectangle r)
          Sets the bounding Rectangle of this Rectangle to match the specified Rectangle.
 boolean Rectangle.contains(Rectangle r)
          Checks whether or not this Rectangle entirely contains the specified Rectangle.
 boolean Rectangle.intersects(Rectangle r)
          Determines whether or not this Rectangle and the specified Rectangle intersect.
 Rectangle Rectangle.intersection(Rectangle r)
          Computes the intersection of this Rectangle with the specified Rectangle.
 Rectangle Rectangle.union(Rectangle r)
          Computes the union of this Rectangle with the specified Rectangle.
 void Rectangle.add(Rectangle r)
          Adds a Rectangle to this Rectangle.
protected  void GridBagLayout.AdjustForGravity(GridBagConstraints constraints, Rectangle r)
           
 

Constructors in java.awt with parameters of type Rectangle
Rectangle.Rectangle(Rectangle r)
          Constructs a new Rectangle, initialized to match the values of the specificed Rectangle.
 

Uses of Rectangle in java.awt.event
 

Fields in java.awt.event declared as Rectangle
(package private)  Rectangle PaintEvent.updateRect
          This is the rectangle that represents the area on the source component that requires a repaint.
 

Methods in java.awt.event that return Rectangle
 Rectangle PaintEvent.getUpdateRect()
          Returns the rectangle representing the area which needs to be repainted in response to this event.
 

Methods in java.awt.event with parameters of type Rectangle
 void PaintEvent.setUpdateRect(Rectangle updateRect)
          Sets the rectangle representing the area which needs to be repainted in response to this event.
 

Constructors in java.awt.event with parameters of type Rectangle
PaintEvent.PaintEvent(Component source, int id, Rectangle updateRect)
          Constructs a PaintEvent object with the specified source component and type.
 

Uses of Rectangle in java.beans
 

Methods in java.beans with parameters of type Rectangle
 void PropertyEditorSupport.paintValue(Graphics gfx, Rectangle box)
          Paint a representation of the value into a given area of screen real estate.
 void PropertyEditor.paintValue(Graphics gfx, Rectangle box)
          Paint a representation of the value into a given area of screen real estate.