java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.ButtonBorder
- All Implemented Interfaces:
- Serializable,- Border,- UIResource
- Direct Known Subclasses:
- BasicBorders.RadioButtonBorder,- BasicBorders.RolloverButtonBorder,- BasicBorders.ToggleButtonBorder
- Enclosing class:
- BasicBorders
Draws a border around a button.
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionButtonBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight) Constructs a new instance of aButtonBorder.
- 
Method SummaryMethods declared in class javax.swing.border.AbstractBordergetBaseline, getBaselineResizeBehavior, getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder
- 
Field Details- 
shadowThe color of shadow.
- 
darkShadowThe color of dark shadow.
- 
highlightThe color of highlight.
- 
lightHighlightThe color of light highlight.
 
- 
- 
Constructor Details- 
ButtonBorderConstructs a new instance of aButtonBorder.- Parameters:
- shadow- a color of shadow
- darkShadow- a color of dark shadow
- highlight- a color of highlight
- lightHighlight- a color of light highlight
 
 
-