API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. BorderUIResource.CompoundBorderUIResource View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AbstractBorder
          CompoundBorder
              BorderUIResource.CompoundBorderUIResource
Implements
 UIResource
Subclasses
Description
publicstatic class BorderUIResource.CompoundBorderUIResource
See also:   
Constructors
public BorderUIResource.CompoundBorderUIResource (Border outsideBorder, Border insideBorder)
Methods
Hide/Show inherited methods
public int getBaseline (Component c, int width, int height) [Inherited From AbstractBorder]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (Component c) [Inherited From AbstractBorder]
  Returns an enum indicating how the baseline of a component changes as the size changes.
public Insets getBorderInsets (Component c) [Inherited From CompoundBorder]
  Returns the insets of the composite border by adding the insets of the outside border to the insets of the inside border.
public Insets getBorderInsets (Component c, Insets insets) [Inherited From CompoundBorder]
  Reinitialize the insets parameter with this Border's current Insets.
public Border getInsideBorder () [Inherited From CompoundBorder]
Returns the inside border object.
publicstatic Rectangle getInteriorRectangle (Component c, Border b, int x, int y, int width, int height) [Inherited From AbstractBorder]
  Returns a rectangle using the arguments minus the insets of the border.
public Rectangle getInteriorRectangle (Component c, int x, int y, int width, int height) [Inherited From AbstractBorder]
  This convenience method calls the static method.
public Border getOutsideBorder () [Inherited From CompoundBorder]
Returns the outside border object.
public boolean isBorderOpaque () [Inherited From CompoundBorder]
  Returns whether or not this compound border is opaque.
public void paintBorder (Component c, Graphics g, int x, int y, int width, int height) [Inherited From CompoundBorder]
  Paints the compound border by painting the outside border with the specified position and size and then painting the inside border at the specified position and size offset by the insets of the outside border.
Fields
Hide/Show inherited fields
protected Border insideBorder [Inherited From CompoundBorder]
protected Border outsideBorder [Inherited From CompoundBorder]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar