All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.basic.BasicButtonBorder

java.lang.Object
   |
   +----com.sun.java.swing.border.AbstractBorder
           |
           +----com.sun.java.swing.basic.BasicButtonBorder

public class BasicButtonBorder
extends AbstractBorder
A border class to be used for rendering Windows-style borders for button UI classes.


Constructor Index

 o BasicButtonBorder()

Method Index

 o getBorderInsets(Component)
This default implementation returns the value of getBorderMargins.
 o getButtonBorder()
 o paintBorder(Component, Graphics, int, int, int, int)
This default implementation does no painting.

Constructors

 o BasicButtonBorder
 public BasicButtonBorder()

Methods

 o getButtonBorder
 public static Border getButtonBorder()
 o paintBorder
 public void paintBorder(Component c,
                         Graphics g,
                         int x,
                         int y,
                         int width,
                         int height)
This default implementation does no painting.

Overrides:
paintBorder in class AbstractBorder
 o getBorderInsets
 public Insets getBorderInsets(Component c)
This default implementation returns the value of getBorderMargins.

Overrides:
getBorderInsets in class AbstractBorder

All Packages  Class Hierarchy  This Package  Previous  Next  Index