public static class MetalBorders.RolloverButtonBorder extends MetalBorders.ButtonBorder
borderInsets| Constructor and Description |
|---|
RolloverButtonBorder() |
| Modifier and Type | Method and Description |
|---|---|
void |
paintBorder(Component c, Graphics g, int x, int y, int w, int h)
此默认实现不绘画。
|
getBorderInsetsgetBaseline, getBaselineResizeBehavior, getBorderInsets, getInteriorRectangle, getInteriorRectangle, isBorderOpaquepublic 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 - the height of the painted border
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.