java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.plaf.basic.BasicBorders.ButtonBorder
javax.swing.plaf.basic.BasicBorders.ToggleButtonBorder
- 所有已实现的接口:
-
Serializable
,Border
,UIResource
- 封装类:
-
BasicBorders
绘制在切换按钮周围的边框。
-
Field Summary
Fields declared in class javax.swing.plaf.basic.BasicBorders.ButtonBorder
darkShadow, highlight, lightHighlight, shadow
-
Constructor Summary
ConstructorDescriptionToggleButtonBorder
(Color shadow, Color darkShadow, Color highlight, Color lightHighlight) 构造一个新的ToggleButtonBorder
实例。 -
Method Summary
Methods declared in class javax.swing.border.AbstractBorder
getBaseline, getBaselineResizeBehavior, getBorderInsets, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaque, paintBorder
-
Constructor Details
-
ToggleButtonBorder
构造一个新的ToggleButtonBorder
实例。- 参数:
-
shadow
- 阴影颜色 -
darkShadow
- 深色阴影颜色 -
highlight
- 高亮颜色 -
lightHighlight
- 浅色高亮颜色
-