API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.border. AbstractBorder View Source
Author(s)
David Kloba
Since
Version
1.36 02/14/06
Serial
Hierarchy
 Object
      AbstractBorder
Implements
 Border
 Serializable
Subclasses
Description
publicabstract abstract class AbstractBorder
  A class that implements an empty border with no size.
See also:   
Constructors
public AbstractBorder ()
Methods
Hide/Show inherited methods
public int getBaseline (Component c, int width, int height)
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (Component c)
  Returns an enum indicating how the baseline of a component changes as the size changes.
public Insets getBorderInsets (Component c) [Specified in Border]
  This default implementation returns a new Insets instance where the top, left, bottom, and right fields are set to 0.
public Insets getBorderInsets (Component c, Insets insets)
  Reinitializes the insets parameter with this Border's current Insets.
publicstatic Rectangle getInteriorRectangle (Component c, Border b, int x, int y, int width, int height)
  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)
  This convenience method calls the static method.
public boolean isBorderOpaque () [Specified in Border]
  This default implementation returns false.
pack-privatestatic boolean isLeftToRight (Component c)
public void paintBorder (Component c, Graphics g, int x, int y, int width, int height) [Specified in Border]
  This default implementation does no painting.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar