API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicBorders.ToggleButtonBorder View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      AbstractBorder
          BasicBorders.ButtonBorder
              BasicBorders.ToggleButtonBorder
Implements
Subclasses
Description
publicstatic class BasicBorders.ToggleButtonBorder
See also:   
Constructors
public BasicBorders.ToggleButtonBorder (Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
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) [Overrides BasicBorders.ButtonBorder]
public Insets getBorderInsets (Component c, Insets insets) [Overrides BasicBorders.ButtonBorder]
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 boolean isBorderOpaque () [Inherited From AbstractBorder]
  This default implementation returns false.
public void paintBorder (Component c, Graphics g, int x, int y, int width, int height) [Overrides BasicBorders.ButtonBorder]
Fields
Hide/Show inherited fields
protected Color darkShadow [Inherited From BasicBorders.ButtonBorder]
protected Color highlight [Inherited From BasicBorders.ButtonBorder]
protected Color lightHighlight [Inherited From BasicBorders.ButtonBorder]
protected Color shadow [Inherited From BasicBorders.ButtonBorder]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar