| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.event |
Provides interfaces and classes for dealing with different types of events fired by AWT components.
|
| java.awt.font |
Provides classes and interface relating to fonts.
|
| java.awt.geom |
Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.
|
| java.awt.im |
Provides classes and interfaces for the input method framework.
|
| java.awt.im.spi |
Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
|
| java.awt.image |
Provides classes for creating and modifying images.
|
| java.beans |
Contains classes related to developing
beans -- components based on the JavaBeans™ architecture.
|
| javax.accessibility |
Defines a contract between user-interface components and an assistive technology that provides access to those components.
|
| javax.imageio |
The main package of the Java Image I/O API.
|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.border |
Provides classes and interface for drawing specialized borders around a Swing component.
|
| javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
| javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel (once codenamed
Metal), which is the default look and feel.
|
| javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
| javax.swing.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
| javax.swing.table |
Provides classes and interfaces for dealing with
javax.swing.JTable.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| javax.swing.tree |
Provides classes and interfaces for dealing with
javax.swing.JTree.
|
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle |
Polygon.bounds
The bounds of this
Polygon.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
Component.bounds()
Deprecated.
As of JDK version 1.1, replaced by
getBounds().
|
Rectangle |
Polygon.getBoundingBox()
Deprecated.
As of JDK version 1.1, replaced by
getBounds().
|
abstract Rectangle |
GraphicsConfiguration.getBounds()
Returns the bounds of the
GraphicsConfiguration in the device coordinates.
|
Rectangle |
MenuComponent.AccessibleAWTMenuComponent.getBounds()
Gets the bounds of this object in the form of a
Rectangle object.
|
Rectangle |
Rectangle.getBounds()
Gets the bounding
Rectangle of this
Rectangle.
|
Rectangle |
SplashScreen.getBounds()
Returns the bounds of the splash screen window as a
Rectangle.
|
Rectangle |
List.AccessibleAWTList.AccessibleAWTListChild.getBounds()
Gets the bounds of this object in the form of a Rectangle object.
|
Rectangle |
Shape.getBounds()
Returns an integer
Rectangle that completely encloses the
Shape.
|
Rectangle |
Polygon.getBounds()
Gets the bounding box of this
Polygon.
|
Rectangle |
Component.getBounds()
Gets the bounds of this component in the form of a
Rectangle object.
|
Rectangle |
Component.AccessibleAWTComponent.getBounds()
Gets the bounds of this object in the form of a Rectangle object.
|
Rectangle |
Component.getBounds(Rectangle
Stores the bounds of this component into "return value"
rv and return
rv.
|
Rectangle |
TextComponent.AccessibleAWTTextComponent.getCharacterBounds(int i)
Determines the bounding box of the character at the given index into the string.
|
abstract Rectangle |
Graphics.getClipBounds()
Returns the bounding rectangle of the current clipping area.
|
Rectangle |
Graphics.getClipBounds(Rectangle
Returns the bounding rectangle of the current clipping area.
|
Rectangle |
Graphics.getClipRect()
Deprecated.
As of JDK version 1.1, replaced by
getClipBounds().
|
Rectangle |
Frame.getMaximizedBounds()
Gets maximized bounds for this frame.
|
Rectangle |
GraphicsEnvironment.getMaximumWindowBounds()
Returns the maximum bounds for centered Windows.
|
Rectangle |
Rectangle.intersection(Rectangle
Computes the intersection of this
Rectangle with the specified
Rectangle.
|
Rectangle |
Rectangle.union(Rectangle
Computes the union of this
Rectangle with the specified
Rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Rectangle.add(Rectangle
Adds a
Rectangle to this
Rectangle.
|
protected void |
GridBagLayout.adjustForGravity(GridBagConstraints
Adjusts the x, y, width, and height fields to the correct values depending on the constraint geometry and pads.
|
protected void |
GridBagLayout.AdjustForGravity(GridBagConstraints
This method is obsolete and supplied for backwards compatibility only; new code should call
adjustForGravity instead.
|
boolean |
Rectangle.contains(Rectangle
Checks whether or not this
Rectangle entirely contains the specified
Rectangle.
|
PaintContext |
GradientPaint.createContext(ColorModel
Creates and returns a
PaintContext used to generate a linear color gradient pattern.
|
PaintContext |
LinearGradientPaint.createContext(ColorModel
Creates and returns a
PaintContext used to generate a linear color gradient pattern.
|
PaintContext |
Paint.createContext(ColorModel
Creates and returns a
PaintContext used to generate the color pattern.
|
PaintContext |
Color.createContext(ColorModel
Creates and returns a
PaintContext used to generate a solid color field pattern.
|
PaintContext |
TexturePaint.createContext(ColorModel
Creates and returns a
PaintContext used to generate a tiled image pattern.
|
PaintContext |
RadialGradientPaint.createContext(ColorModel
Creates and returns a
PaintContext used to generate a circular radial color gradient pattern.
|
BufferedImage |
Robot.createScreenCapture(Rectangle
Creates an image containing pixels read from the screen.
|
Rectangle |
Component.getBounds(Rectangle
Stores the bounds of this component into "return value"
rv and return
rv.
|
Rectangle |
Graphics.getClipBounds(Rectangle
Returns the bounding rectangle of the current clipping area.
|
abstract boolean |
Graphics2D.hit(Rectangle
Checks whether or not the specified
Shape intersects the specified
Rectangle, which is in device space.
|
Rectangle |
Rectangle.intersection(Rectangle
Computes the intersection of this
Rectangle with the specified
Rectangle.
|
boolean |
Rectangle.intersects(Rectangle
Determines whether or not this
Rectangle and the specified
Rectangle intersect.
|
void |
Window.setBounds(Rectangle
Moves and resizes this component to conform to the new bounding rectangle
r.
|
void |
MenuComponent.AccessibleAWTMenuComponent.setBounds(Rectangle
Sets the bounds of this object in the form of a
Rectangle object.
|
void |
Rectangle.setBounds(Rectangle
Sets the bounding
Rectangle of this
Rectangle to match the specified
Rectangle.
|
void |
List.AccessibleAWTList.AccessibleAWTListChild.setBounds(Rectangle
Sets the bounds of this object in the form of a Rectangle object.
|
void |
Component.setBounds(Rectangle
Moves and resizes this component to conform to the new bounding rectangle
r.
|
void |
Component.AccessibleAWTComponent.setBounds(Rectangle
Sets the bounds of this object in the form of a
Rectangle object.
|
void |
Frame.setMaximizedBounds(Rectangle
Sets the maximized bounds for this frame.
|
Rectangle |
Rectangle.union(Rectangle
Computes the union of this
Rectangle with the specified
Rectangle.
|
| Constructor and Description | |
|---|---|
Rectangle(Rectangle
Constructs a new
Rectangle, initialized to match the values of the specified
Rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
PaintEvent.getUpdateRect()
Returns the rectangle representing the area which needs to be repainted in response to this event.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PaintEvent.setUpdateRect(Rectangle
Sets the rectangle representing the area which needs to be repainted in response to this event.
|
| Constructor and Description | |
|---|---|
PaintEvent(Component
Constructs a
PaintEvent object with the specified source component and type.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
GlyphVector.getGlyphPixelBounds(int index, FontRenderContext
Returns the pixel bounds of the glyph at index when this
GlyphVector is rendered in a
Graphics with the given
FontRenderContext at the given location.
|
Rectangle |
TextLayout.getPixelBounds(FontRenderContext
Returns the pixel bounds of this
TextLayout when rendered in a graphics with the given
FontRenderContext at the given location.
|
Rectangle |
GlyphVector.getPixelBounds(FontRenderContext
Returns the pixel bounds of this
GlyphVector when rendered in a graphics with the given
FontRenderContext at the given location.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
QuadCurve2D.getBounds()
Returns an integer
Rectangle that completely encloses the
Shape.
|
Rectangle |
Path2D.getBounds()
Returns an integer
Rectangle that completely encloses the
Shape.
|
Rectangle |
Line2D.getBounds()
Returns an integer
Rectangle that completely encloses the
Shape.
|
Rectangle |
Area.getBounds()
Returns a bounding
Rectangle that completely encloses this
Area.
|
Rectangle |
RectangularShape.getBounds()
Returns an integer
Rectangle that completely encloses the
Shape.
|
Rectangle |
CubicCurve2D.getBounds()
Returns an integer
Rectangle that completely encloses the
Shape.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
InputMethodRequests.getTextLocation(TextHitInfo
Gets the location of a specified offset in the current composed text, or of the selection in committed text.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InputMethod.notifyClientWindowChange(Rectangle
Notifies this input method of changes in the client window location or state.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
Raster.getBounds()
Returns the bounding Rectangle of this Raster.
|
| Modifier and Type | Method and Description |
|---|---|
WritableRaster |
Raster.createCompatibleWritableRaster(Rectangle
Create a compatible WritableRaster with location (minX, minY) and size (width, height) specified by rect, a new SampleModel, and a new initialized DataBuffer.
|
Raster |
BufferedImage.getData(Rectangle
Computes and returns an arbitrary region of the
BufferedImage.
|
Raster |
RenderedImage.getData(Rectangle
Computes and returns an arbitrary region of the RenderedImage.
|
| Constructor and Description | |
|---|---|
Raster(SampleModel
Constructs a Raster with the given SampleModel, DataBuffer, and parent.
|
|
WritableRaster(SampleModel
Constructs a WritableRaster with the given SampleModel, DataBuffer, and parent.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyEditor.paintValue(Graphics
Paint a representation of the value into a given area of screen real estate.
|
void |
PropertyEditorSupport.paintValue(Graphics
Paint a representation of the value into a given area of screen real estate.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
AccessibleComponent.getBounds()
Gets the bounds of this object in the form of a Rectangle object.
|
Rectangle |
AccessibleText.getCharacterBounds(int i)
Determines the bounding box of the character at the given index into the string.
|
Rectangle |
AccessibleExtendedText.getTextBounds(int startIndex, int endIndex)
Returns the bounding rectangle of the text between two indices.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccessibleComponent.setBounds(Rectangle
Sets the bounds of this object in the form of a Rectangle object.
|
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle |
IIOParam.sourceRegion
The source region, on
null if none is set.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
IIOParam.getSourceRegion()
Returns the source region to be used.
|
protected static Rectangle |
ImageReader.getSourceRegion(ImageReadParam
A utility method that may be used by readers to compute the region of the source image that should be read, taking into account any source region and subsampling offset settings in the supplied
ImageReadParam.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
ImageReader.computeRegions(ImageReadParam
Computes the source region of interest and the destination region of interest, taking the width and height of the source image, an optional destination image, and an optional
ImageReadParam into account.
|
void |
ImageWriter.prepareReplacePixels(int imageIndex, Rectangle
Prepares the writer to handle a series of calls to the
replacePixels methods.
|
void |
IIOParam.setSourceRegion(Rectangle
Sets the source region of interest.
|
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
SwingUtilities.calculateInnerArea(JComponent
Stores the position and size of the inner painting area of the specified component in
r and returns
r.
|
static Rectangle |
SwingUtilities.computeDifference(Rectangle
Convenience returning an array of rect representing the regions within
rectA that do not overlap with
rectB.
|
static Rectangle |
SwingUtilities.computeIntersection(int x, int y, int width, int height, Rectangle
Convenience to calculate the intersection of two rectangles without allocating a new rectangle.
|
static Rectangle |
SwingUtilities.computeUnion(int x, int y, int width, int height, Rectangle
Convenience method that calculates the union of two rectangles without allocating a new rectangle.
|
static Rectangle |
SwingUtilities.convertRectangle(Component
Convert the rectangle
aRectangle in
source coordinate system to
destination coordinate system.
|
Rectangle |
JTree.AccessibleJTree.AccessibleJTreeNode.getBounds()
|
Rectangle |
JTable.AccessibleJTable.AccessibleJTableCell.getBounds()
|
Rectangle |
JList.AccessibleJList.AccessibleJListChild.getBounds()
|
Rectangle |
JComponent.getBounds(Rectangle
Stores the bounds of this component into "return value"
rv and returns
rv.
|
Rectangle |
JTabbedPane.getBoundsAt(int index)
Returns the tab bounds at
index.
|
protected Rectangle |
DefaultDesktopManager.getBoundsForIconOf(JInternalFrame
The iconifyFrame() code calls this to determine the proper bounds for the desktopIcon.
|
Rectangle |
JList.getCellBounds(int index0, int index1)
Returns the bounding rectangle, in the list's coordinate system, for the range of cells specified by the two indices.
|
Rectangle |
JTable.getCellRect(int row, int column, boolean includeSpacing)
Returns a rectangle for the cell that lies at the intersection of
row and
column.
|
Rectangle |
JLabel.AccessibleJLabel.getCharacterBounds(int i)
Returns the bounding box of the character at the given index in the string.
|
Rectangle |
ProgressMonitor.AccessibleProgressMonitor.getCharacterBounds(int i)
Determines the bounding box of the character at the given index into the string.
|
Rectangle |
JSpinner.AccessibleJSpinner.getCharacterBounds(int i)
Determines the bounding box of the character at the given index into the string.
|
Rectangle |
AbstractButton.AccessibleAbstractButton.getCharacterBounds(int i)
Determine the bounding box of the character at the given index into the string.
|
Rectangle |
DebugGraphics.getClipBounds()
Overrides
Graphics.getClipBounds.
|
Rectangle |
RepaintManager.getDirtyRegion(JComponent
Return the current dirty region for a component.
|
static Rectangle |
SwingUtilities.getLocalBounds(Component
Return the rectangle (0,0,bounds.width,bounds.height) for the component
aComponent
|
Rectangle |
JInternalFrame.getNormalBounds()
If the
JInternalFrame is not in maximized state, returns
getBounds(); otherwise, returns the bounds that the
JInternalFrame would be restored to.
|
Rectangle |
JTree.getPathBounds(TreePath
Returns the
Rectangle that the specified node will be drawn into.
|
protected Rectangle |
DefaultDesktopManager.getPreviousBounds(JInternalFrame
Gets the normal bounds of the component prior to the component being maximized.
|
Rectangle |
JTree.getRowBounds(int row)
Returns the
Rectangle that the node at the specified row is drawn in.
|
Rectangle |
JScrollPane.getViewportBorderBounds()
Returns the bounds of the viewport's border.
|
Rectangle |
ScrollPaneLayout.getViewportBorderBounds(JScrollPane
Deprecated.
As of JDK version Swing1.1 replaced by
JScrollPane.getViewportBorderBounds().
|
Rectangle |
JViewport.getViewRect()
Returns a rectangle whose origin is
getViewPosition and size is
getExtentSize.
|
Rectangle |
JComponent.getVisibleRect()
Returns the
Component's "visible rectangle" - the intersection of this component's visible rectangle,
new Rectangle(0, 0, getWidth(), getHeight()), and all of its ancestors' visible rectangles.
|
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
SwingUtilities.calculateInnerArea(JComponent
Stores the position and size of the inner painting area of the specified component in
r and returns
r.
|
protected boolean |
JViewport.computeBlit(int dx, int dy, Point
Computes the parameters for a blit where the backing store image currently contains
oldLoc in the upper left hand corner and we're scrolling to
newLoc.
|
static Rectangle |
SwingUtilities.computeDifference(Rectangle
Convenience returning an array of rect representing the regions within
rectA that do not overlap with
rectB.
|
static Rectangle |
SwingUtilities.computeIntersection(int x, int y, int width, int height, Rectangle
Convenience to calculate the intersection of two rectangles without allocating a new rectangle.
|
static Rectangle |
SwingUtilities.computeUnion(int x, int y, int width, int height, Rectangle
Convenience method that calculates the union of two rectangles without allocating a new rectangle.
|
void |
JComponent.computeVisibleRect(Rectangle
Returns the
Component's "visible rect rectangle" - the intersection of the visible rectangles for this component and all of its ancestors.
|
static Rectangle |
SwingUtilities.convertRectangle(Component
Convert the rectangle
aRectangle in
source coordinate system to
destination coordinate system.
|
Rectangle |
JComponent.getBounds(Rectangle
Stores the bounds of this component into "return value"
rv and returns
rv.
|
int |
Scrollable.getScrollableBlockIncrement(Rectangle
Components that display logical rows or columns should compute the scroll increment that will completely expose one block of rows or columns, depending on the value of orientation.
|
int |
JLayer.getScrollableBlockIncrement(Rectangle
Returns a scroll increment, which is required for components that display logical rows or columns in order to completely expose one block of rows or columns, depending on the value of orientation.
|
int |
JTree.getScrollableBlockIncrement(Rectangle
Returns the amount for a block increment, which is the height or width of
visibleRect, based on
orientation.
|
int |
JTable.getScrollableBlockIncrement(Rectangle
Returns
visibleRect.height or
visibleRect.width, depending on this table's orientation.
|
int |
JList.getScrollableBlockIncrement(Rectangle
Returns the distance to scroll to expose the next or previous block.
|
int |
Scrollable.getScrollableUnitIncrement(Rectangle
Components that display logical rows or columns should compute the scroll increment that will completely expose one new row or column, depending on the value of orientation.
|
int |
JLayer.getScrollableUnitIncrement(Rectangle
Returns a scroll increment, which is required for components that display logical rows or columns in order to completely expose one new row or column, depending on the value of orientation.
|
int |
JTree.getScrollableUnitIncrement(Rectangle
Returns the amount to increment when scrolling.
|
int |
JTextArea.getScrollableUnitIncrement(Rectangle
Components that display logical rows or columns should compute the scroll increment that will completely expose one new row or column, depending on the value of orientation.
|
int |
JTable.getScrollableUnitIncrement(Rectangle
Returns the scroll increment (in pixels) that completely exposes one new row or column (depending on the orientation).
|
int |
JList.getScrollableUnitIncrement(Rectangle
Returns the distance to scroll to expose the next or previous row (for vertical scrolling) or column (for horizontal scrolling).
|
static boolean |
SwingUtilities.isRectangleContainingRectangle(Rectangle
Return true if
a contains
b
|
static String |
SwingUtilities.layoutCompoundLabel(FontMetrics
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string.
|
static String |
SwingUtilities.layoutCompoundLabel(JComponent
Compute and return the location of the icons origin, the location of origin of the text baseline, and a possibly clipped version of the compound labels string.
|
void |
CellRendererPane.paintComponent(Graphics
Calls this.paintComponent() with the rectangles x,y,width,height fields.
|
static void |
SwingUtilities.paintComponent(Graphics
Paints a component to the specified
Graphics.
|
void |
JComponent.paintImmediately(Rectangle
Paints the specified region now.
|
void |
DefaultListCellRenderer.repaint(Rectangle
Overridden for performance reasons.
|
void |
JComponent.repaint(Rectangle
Adds the specified region to the dirty region list if the component is showing.
|
void |
JViewport.scrollRectToVisible(Rectangle
Scrolls the view so that
Rectangle within the view becomes visible.
|
void |
JTextField.scrollRectToVisible(Rectangle
Scrolls the field left or right.
|
void |
JComponent.scrollRectToVisible(Rectangle
Forwards the
scrollRectToVisible() message to the
JComponent's parent.
|
void |
JTree.AccessibleJTree.AccessibleJTreeNode.setBounds(Rectangle
|
void |
JTable.AccessibleJTable.AccessibleJTableCell.setBounds(Rectangle
|
void |
JList.AccessibleJList.AccessibleJListChild.setBounds(Rectangle
|
void |
JInternalFrame.setNormalBounds(Rectangle
Sets the normal bounds for this internal frame, the bounds that this internal frame would be restored to from its maximized state.
|
protected void |
DefaultDesktopManager.setPreviousBounds(JInternalFrame
Stores the bounds of the component just before a maximize call.
|
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
AbstractBorder.getInteriorRectangle(Component
Returns a rectangle using the arguments minus the insets of the border.
|
Rectangle |
AbstractBorder.getInteriorRectangle(Component
This convenience method calls the static method.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Rectangle |
ListUI.getCellBounds(JList
Returns the bounding rectangle, in the given list's coordinate system, for the range of cells specified by the two indices.
|
abstract Rectangle |
TreeUI.getPathBounds(JTree
Returns the Rectangle enclosing the label portion that the last item in path will be drawn into.
|
abstract Rectangle |
TabbedPaneUI.getTabBounds(JTabbedPane
|
abstract Rectangle |
TextUI.modelToView(JTextComponent
Converts the given location in the model to a place in the view coordinate system.
|
abstract Rectangle |
TextUI.modelToView(JTextComponent
Converts the given location in the model to a place in the view coordinate system.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicTextUI
|
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle |
BasicProgressBarUI.boxRect
Used to hold the location and size of the bouncing box (returned by getBox) to be painted.
|
protected Rectangle |
BasicTabbedPaneUI.calcRect
A rectangle used for general layout calculations in order to avoid constructing many new Rectangles on the fly.
|
protected Rectangle |
BasicSliderUI.contentRect
|
protected Rectangle |
BasicSliderUI.focusRect
|
protected Rectangle |
BasicSliderUI.labelRect
|
protected Rectangle |
BasicTabbedPaneUI.rects
|
protected Rectangle |
BasicSliderUI.thumbRect
|
protected Rectangle |
BasicScrollBarUI.thumbRect
|
protected Rectangle |
BasicSliderUI.tickRect
|
protected Rectangle |
BasicSliderUI.trackRect
|
protected Rectangle |
BasicScrollBarUI.trackRect
|
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
BasicComboPopup.computePopupBounds(int px, int py, int pw, int ph)
Calculate the placement and size of the popup portion of the combo box based on the combo box location and the enclosing screen bounds.
|
protected Rectangle |
BasicProgressBarUI.getBox(Rectangle
Stores the position and size of the bouncing box that would be painted for the current animation index in
r and returns
r.
|
Rectangle |
BasicListUI.getCellBounds(JList
Returns the bounding rectangle, in the given list's coordinate system, for the range of cells specified by the two indices.
|
protected Rectangle |
BasicTreeUI.getDropLineRect(JTree
Returns a unbounding box for the drop line.
|
Rectangle |
BasicTreeUI.NodeDimensionsHandler.getNodeDimensions(Object
Responsible for getting the size of a particular node.
|
Rectangle |
BasicTreeUI.getPathBounds(JTree
Returns the Rectangle enclosing the label portion that the last item in path will be drawn into.
|
protected Rectangle |
BasicTabbedPaneUI.getTabBounds(int tabIndex, Rectangle
Returns the bounds of the specified tab in the coordinate space of the JTabbedPane component.
|
Rectangle |
BasicTabbedPaneUI.getTabBounds(JTabbedPane
Returns the bounds of the specified tab index.
|
protected Rectangle |
BasicScrollBarUI.getThumbBounds()
Return the current size/location of the thumb.
|
protected Rectangle |
BasicScrollBarUI.getTrackBounds()
Returns the current bounds of the track, i.e.
|
protected Rectangle |
BasicTextUI.getVisibleEditorRect()
Gets the allocation to give the root View.
|
Rectangle |
BasicTextUI.modelToView(JTextComponent
Converts the given location in the model to a place in the view coordinate system.
|
Rectangle |
BasicTextUI.modelToView(JTextComponent
Converts the given location in the model to a place in the view coordinate system.
|
protected Rectangle |
BasicComboBoxUI.rectangleForCurrentValue()
Returns the area that is reserved for drawing the currently selected item.
|
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
BasicProgressBarUI.getBox(Rectangle
Stores the position and size of the bouncing box that would be painted for the current animation index in
r and returns
r.
|
Rectangle |
BasicTreeUI.NodeDimensionsHandler.getNodeDimensions(Object
Responsible for getting the size of a particular node.
|
protected Rectangle |
BasicTabbedPaneUI.getTabBounds(int tabIndex, Rectangle
Returns the bounds of the specified tab in the coordinate space of the JTabbedPane component.
|
protected String |
BasicLabelUI.layoutCL(JLabel
Forwards the call to SwingUtilities.layoutCompoundLabel().
|
protected void |
BasicTabbedPaneUI.layoutLabel(int tabPlacement, FontMetrics
|
protected void |
BasicListUI.paintCell(Graphics
Paint one List cell: compute the relevant state, get the "rubber stamp" cell renderer component, and then use the CellRendererPane to paint it.
|
void |
BasicComboBoxUI.paintCurrentValue(Graphics
Paints the currently selected item.
|
void |
BasicComboBoxUI.paintCurrentValueBackground(Graphics
Paints the background of the currently selected item.
|
protected void |
BasicTreeUI.paintExpandControl(Graphics
Paints the expand (toggle) part of a row.
|
protected void |
BasicButtonUI.paintFocus(Graphics
|
protected void |
BasicRadioButtonUI.paintFocus(Graphics
|
protected void |
BasicTabbedPaneUI.paintFocusIndicator(Graphics
|
protected void |
BasicTabbedPaneUI.paintFocusIndicator(Graphics
|
protected void |
BasicTreeUI.paintHorizontalPartOfLeg(Graphics
Paints the horizontal part of the leg.
|
protected void |
BasicToggleButtonUI.paintIcon(Graphics
|
protected void |
BasicTabbedPaneUI.paintIcon(Graphics
|
protected void |
BasicButtonUI.paintIcon(Graphics
|
protected void |
BasicSliderUI.paintMajorTickForHorizSlider(Graphics
|
protected void |
BasicSliderUI.paintMajorTickForVertSlider(Graphics
|
protected void |
BasicSliderUI.paintMinorTickForHorizSlider(Graphics
|
protected void |
BasicSliderUI.paintMinorTickForVertSlider(Graphics
|
protected void |
BasicTreeUI.paintRow(Graphics
Paints the renderer part of a row.
|
protected void |
BasicTabbedPaneUI.paintTab(Graphics
|
protected void |
BasicTabbedPaneUI.paintTab(Graphics
|
protected void |
BasicButtonUI.paintText(Graphics
Method which renders the text of the current button.
|
protected void |
BasicTabbedPaneUI.paintText(Graphics
|
protected void |
BasicButtonUI.paintText(Graphics
As of Java 2 platform v 1.4 this method should not be used or overriden.
|
protected void |
BasicMenuItemUI.paintText(Graphics
Renders the text of the current menu item.
|
protected void |
BasicScrollBarUI.paintThumb(Graphics
|
protected void |
BasicScrollBarUI.paintTrack(Graphics
|
protected void |
BasicTreeUI.paintVerticalPartOfLeg(Graphics
Paints the vertical part of the leg.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetalComboBoxUI.paintCurrentValue(Graphics
If necessary paints the currently selected item.
|
void |
MetalComboBoxUI.paintCurrentValueBackground(Graphics
If necessary paints the background of the currently selected item.
|
protected void |
MetalButtonUI.paintFocus(Graphics
|
protected void |
MetalToggleButtonUI.paintFocus(Graphics
|
protected void |
MetalRadioButtonUI.paintFocus(Graphics
|
protected void |
MetalTabbedPaneUI.paintFocusIndicator(Graphics
|
protected void |
MetalTabbedPaneUI.paintFocusIndicator(Graphics
|
protected void |
MetalTreeUI.paintHorizontalPartOfLeg(Graphics
|
protected void |
MetalToggleButtonUI.paintIcon(Graphics
Paints the appropriate icon of the button
b in the space
iconRect.
|
protected void |
MetalSliderUI.paintMajorTickForHorizSlider(Graphics
|
protected void |
MetalSliderUI.paintMajorTickForVertSlider(Graphics
|
protected void |
MetalSliderUI.paintMinorTickForHorizSlider(Graphics
|
protected void |
MetalSliderUI.paintMinorTickForVertSlider(Graphics
|
protected void |
MetalButtonUI.paintText(Graphics
|
protected void |
MetalToggleButtonUI.paintText(Graphics
|
protected void |
MetalScrollBarUI.paintThumb(Graphics
|
protected void |
MetalScrollBarUI.paintTrack(Graphics
|
protected void |
MetalTreeUI.paintVerticalPartOfLeg(Graphics
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
MultiListUI.getCellBounds(JList
Invokes the
getCellBounds method on each UI handled by this object.
|
Rectangle |
MultiTreeUI.getPathBounds(JTree
Invokes the
getPathBounds method on each UI handled by this object.
|
Rectangle |
MultiTabbedPaneUI.getTabBounds(JTabbedPane
Invokes the
getTabBounds method on each UI handled by this object.
|
Rectangle |
MultiTextUI.modelToView(JTextComponent
Invokes the
modelToView method on each UI handled by this object.
|
Rectangle |
MultiTextUI.modelToView(JTextComponent
Invokes the
modelToView method on each UI handled by this object.
|
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
SynthProgressBarUI.getBox(Rectangle
Stores the position and size of the bouncing box that would be painted for the current animation index in
r and returns
r.
|
| Modifier and Type | Method and Description |
|---|---|
protected Rectangle |
SynthProgressBarUI.getBox(Rectangle
Stores the position and size of the bouncing box that would be painted for the current animation index in
r and returns
r.
|
String |
SynthGraphicsUtils.layoutText(SynthContext
Lays out text and an icon returning, by reference, the location to place the icon and text.
|
protected void |
SynthToolBarUI.paintContent(SynthContext
Paints the toolbar content.
|
void |
SynthComboBoxUI.paintCurrentValue(Graphics
Paints the currently selected item.
|
protected void |
SynthTreeUI.paintExpandControl(Graphics
Paints the expand (toggle) part of a row.
|
protected void |
SynthTreeUI.paintHorizontalPartOfLeg(Graphics
Paints the horizontal part of the leg.
|
void |
SynthGraphicsUtils.paintText(SynthContext
Paints text at the specified location.
|
protected void |
SynthScrollBarUI.paintThumb(SynthContext
Paints the scrollbar thumb.
|
protected void |
SynthSliderUI.paintThumb(SynthContext
Paints the slider thumb.
|
protected void |
SynthScrollBarUI.paintTrack(SynthContext
Paints the scrollbar track.
|
protected void |
SynthSliderUI.paintTrack(SynthContext
Paints the slider track.
|
protected void |
SynthTreeUI.paintVerticalPartOfLeg(Graphics
Paints the vertical part of the leg.
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getBounds()
|
Rectangle |
JTableHeader.getHeaderRect(int column)
Returns the rectangle containing the header tile at
column.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultTableCellRenderer.repaint(Rectangle
Overridden for performance reasons.
|
void |
JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setBounds(Rectangle
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCaret
A default implementation of Caret.
|
| Modifier and Type | Field and Description |
|---|---|
protected Rectangle |
AsyncBoxView.ChildLocator.childAlloc
A shape to use for the child allocation to avoid creating a lot of garbage.
|
protected Rectangle |
AsyncBoxView.ChildLocator.lastAlloc
The last seen allocation (for repainting when changes are flushed upward).
|
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
JTextComponent.AccessibleJTextComponent.getCharacterBounds(int i)
Determines the bounding box of the character at the given index into the string.
|
protected Rectangle |
CompositeView.getInsideAllocation(Shape
Translates the immutable allocation given to the view to a mutable allocation that represents the interior allocation (i.e.
|
Rectangle |
JTextComponent.AccessibleJTextComponent.getTextBounds(int startIndex, int endIndex)
Returns the
Rectangle enclosing the text between two indicies.
|
protected Rectangle |
PlainView.lineToRect(Shape
Determine the rectangle that represents the given line.
|
Rectangle |
JTextComponent.modelToView(int pos)
Converts the given location in the model to a place in the view coordinate system.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultCaret.adjustVisibility(Rectangle
Scrolls the associated view (if necessary) to make the caret visible.
|
void |
FlowView.FlowStrategy.changedUpdate(FlowView
Gives notification from the document that attributes were changed in a location that this view is responsible for.
|
protected void |
BoxView.childAllocation(int index, Rectangle
Allocates a region for a child view.
|
protected abstract void |
CompositeView.childAllocation(int index, Rectangle
Returns the allocation for a given child.
|
protected void |
DefaultCaret.damage(Rectangle
Damages the area surrounding the caret to cause it to be repainted in a new location.
|
int |
JTextComponent.getScrollableBlockIncrement(Rectangle
Components that display logical rows or columns should compute the scroll increment that will completely expose one block of rows or columns, depending on the value of orientation.
|
int |
JTextComponent.getScrollableUnitIncrement(Rectangle
Components that display logical rows or columns should compute the scroll increment that will completely expose one new row or column, depending on the value of orientation.
|
protected View |
BoxView.getViewAtPoint(int x, int y, Rectangle
Fetches the child view at the given coordinates.
|
protected abstract View |
CompositeView.getViewAtPoint(int x, int y, Rectangle
Fetches the child view at the given coordinates.
|
protected View |
TableView.getViewAtPosition(int pos, Rectangle
Fetches the child view that represents the given position in the model.
|
protected View |
TableView.TableRow.getViewAtPosition(int pos, Rectangle
Fetches the child view that represents the given position in the model.
|
protected View |
CompositeView.getViewAtPosition(int pos, Rectangle
Fetches the child view that represents the given position in the model.
|
void |
FlowView.FlowStrategy.insertUpdate(FlowView
Gives notification that something was inserted into the document in a location that the given flow view is responsible for.
|
protected boolean |
BoxView.isAfter(int x, int y, Rectangle
Determines if a point falls after an allocated region.
|
protected abstract boolean |
CompositeView.isAfter(int x, int y, Rectangle
Tests whether a point lies after the rectangle range.
|
protected boolean |
BoxView.isBefore(int x, int y, Rectangle
Determines if a point falls before an allocated region.
|
protected abstract boolean |
CompositeView.isBefore(int x, int y, Rectangle
Tests whether a point lies before the rectangle range.
|
protected void |
BoxView.paintChild(Graphics
Paints a child.
|
void |
FlowView.FlowStrategy.removeUpdate(FlowView
Gives notification that something was removed from the document in a location that the given flow view is responsible for.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ListView.paintChild(Graphics
Paints one of the children; called by paint().
|
| Modifier and Type | Method and Description |
|---|---|
abstract Rectangle |
AbstractLayoutCache.getBounds(TreePath
Returns a rectangle giving the bounds needed to draw path.
|
Rectangle |
VariableHeightLayoutCache.getBounds(TreePath
Returns the
Rectangle enclosing the label portion into which the item identified by
path will be drawn.
|
Rectangle |
FixedHeightLayoutCache.getBounds(TreePath
Returns a rectangle giving the bounds needed to draw path.
|
protected Rectangle |
AbstractLayoutCache.getNodeDimensions(Object
Returns, by reference in
placeIn, the size needed to represent
value.
|
abstract Rectangle |
AbstractLayoutCache.NodeDimensions.getNodeDimensions(Object
Returns, by reference in bounds, the size and x origin to place value at.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Rectangle |
AbstractLayoutCache.getBounds(TreePath
Returns a rectangle giving the bounds needed to draw path.
|
Rectangle |
VariableHeightLayoutCache.getBounds(TreePath
Returns the
Rectangle enclosing the label portion into which the item identified by
path will be drawn.
|
Rectangle |
FixedHeightLayoutCache.getBounds(TreePath
Returns a rectangle giving the bounds needed to draw path.
|
protected Rectangle |
AbstractLayoutCache.getNodeDimensions(Object
Returns, by reference in
placeIn, the size needed to represent
value.
|
abstract Rectangle |
AbstractLayoutCache.NodeDimensions.getNodeDimensions(Object
Returns, by reference in bounds, the size and x origin to place value at.
|
int |
AbstractLayoutCache.getPreferredWidth(Rectangle
Returns the preferred width for the passed in region.
|
int |
VariableHeightLayoutCache.getPreferredWidth(Rectangle
Returns the preferred width and height for the region in
visibleRegion.
|
void |
DefaultTreeCellRenderer.repaint(Rectangle
Overridden for performance reasons.
|