public static class BasicBorders.MarginBorder extends AbstractBorder implements UIResource
Constructor and Description |
---|
MarginBorder()
|
Modifier and Type | Method and Description |
---|---|
Insets |
getBorderInsets(Component c, Insets insets)
使用此Border的当前Insets重新初始化insets参数。
|
getBaseline,
getBaselineResizeBehavior,
getBorderInsets,
getInteriorRectangle,
getInteriorRectangle,
isBorderOpaque,
paintBorder
public Insets getBorderInsets(Component c, Insets insets)
AbstractBorder
getBorderInsets
在
AbstractBorder
c
- 应用此边界插入值的组件
insets
- 要重新初始化的对象
insets
对象