public static class MetalBorders.ToggleButtonBorder extends MetalBorders.ButtonBorder
borderInsets
| Constructor and Description |
|---|
ToggleButtonBorder()
|
| Modifier and Type | Method and Description |
|---|---|
void |
paintBorder(Component c, Graphics g,
int x, int y, int w, int h)
此默认实现不绘画。
|
getBorderInsets
getBaseline,
getBaselineResizeBehavior,
getBorderInsets,
getInteriorRectangle,
getInteriorRectangle,
isBorderOpaque
public void paintBorder(Component c, Graphics g, int x, int y, int w, int h)
AbstractBorder
paintBorder在界面
Border
paintBorder在
MetalBorders.ButtonBorder
c - 正在绘制边框的组件
g - 油漆图形
x - 绘画边框的x位置
y - 绘画边框的y位置
w - 绘制边框的宽度
h - 绘画边框的高度