java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.ButtonBorder
javax.swing.plaf.basic.BasicBorders.ToggleButtonBorder
- All Implemented Interfaces:
- Serializable,- Border,- UIResource
- Enclosing class:
- BasicBorders
Draws the border around a toggle button.
- 
Field SummaryFields declared in class javax.swing.plaf.basic.BasicBorders.ButtonBorderdarkShadow, highlight, lightHighlight, shadow
- 
Constructor SummaryConstructorsConstructorDescriptionToggleButtonBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight) Constructs a new instance of aToggleButtonBorder.
- 
Method SummaryMethods declared in class javax.swing.border.AbstractBordergetBaseline, getBaselineResizeBehavior, getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder
- 
Constructor Details- 
ToggleButtonBorderConstructs a new instance of aToggleButtonBorder.- Parameters:
- shadow- a color of shadow
- darkShadow- a color of dark shadow
- highlight- a color of highlight
- lightHighlight- a color of light highlight
 
 
-