API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. BorderUIResource.LineBorderUIResource View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AbstractBorder
          LineBorder
              BorderUIResource.LineBorderUIResource
Implements
 UIResource
Subclasses
Description
publicstatic class BorderUIResource.LineBorderUIResource
See also:   
Constructors
public BorderUIResource.LineBorderUIResource (Color color)
public BorderUIResource.LineBorderUIResource (Color color, int thickness)
Methods
Hide/Show inherited methods
publicstatic Border createBlackLineBorder () [Inherited From LineBorder]
Convenience method for getting the Color.black LineBorder of thickness 1.
publicstatic Border createGrayLineBorder () [Inherited From LineBorder]
Convenience method for getting the Color.gray LineBorder of thickness 1.
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 LineBorder]
  Returns the insets of the border.
public Insets getBorderInsets (Component c, Insets insets) [Inherited From LineBorder]
  Reinitialize the insets parameter with this Border's current Insets.
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 Color getLineColor () [Inherited From LineBorder]
Returns the color of the border.
public boolean getRoundedCorners () [Inherited From LineBorder]
  Returns whether this border will be drawn with rounded corners.
public int getThickness () [Inherited From LineBorder]
Returns the thickness of the border.
public boolean isBorderOpaque () [Inherited From LineBorder]
Returns whether or not the border is opaque.
public void paintBorder (Component c, Graphics g, int x, int y, int width, int height) [Inherited From LineBorder]
  Paints the border for the specified component with the specified position and size.
Fields
Hide/Show inherited fields
protected Color lineColor [Inherited From LineBorder]
protected boolean roundedCorners [Inherited From LineBorder]
protected int thickness [Inherited From LineBorder]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar