| Java Doc By Examples | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjavax.swing.border.AbstractBorderjavax.swing.plaf.basic.BasicBorders.ButtonBorderjavax.swing.plaf.basic.BasicBorders.RolloverButtonBorderpublic static class BasicBorders.RolloverButtonBorderextends BasicBorders.ButtonBorderField Summary |
Fields inherited from class javax.swing.plaf.basic.BasicBorders.ButtonBorder | |
darkShadow, highlight, lightHighlight, shadow | |
Constructor Summary | |
| |
Method Summary | |
void |
|
Methods inherited from class javax.swing.plaf.basic.BasicBorders.ButtonBorder | |
getBorderInsets, getBorderInsets, paintBorder | |
Methods inherited from class javax.swing.border.AbstractBorder | |
getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder | |
Methods inherited from class java.lang.Object | |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait | |
public RolloverButtonBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
This default implementation does no painting.
- Specified by:
- paintBorder in interface Border
- Overrides:
- paintBorder in interface BasicBorders.ButtonBorder
- Parameters:
c- the component for which this border is being paintedg- the paint graphicsx- the x position of the painted bordery- the y position of the painted border