|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.border.AbstractBorder
javax.swing.plaf.metal.MetalBorders.OptionDialogBorder
public static class MetalBorders.OptionDialogBorder
| 构造方法摘要 | |
|---|---|
MetalBorders.OptionDialogBorder()
|
|
| 方法摘要 | |
|---|---|
Insets |
getBorderInsets(Component c)
此默认实现返回一个新的 Insets 实例,其中 top、left、bottom 和 right 字段都设置成了 0。 |
Insets |
getBorderInsets(Component c,
Insets newInsets)
用此边框的当前 Insets 重新初始化 insets 参数。 |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
此默认实现不执行绘制操作。 |
| 从类 javax.swing.border.AbstractBorder 继承的方法 |
|---|
getBaseline, getBaselineResizeBehavior, getInteriorRectangle, getInteriorRectangle, isBorderOpaque |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MetalBorders.OptionDialogBorder()
| 方法详细信息 |
|---|
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int w,
int h)
AbstractBorder 复制的描述
Border 中的 paintBorderAbstractBorder 中的 paintBorderc - 要为其绘制边框的组件g - 绘制的图形x - 所绘制边框的 x 坐标位置y - 所绘制边框的 y 坐标位置w - 所绘制边框的宽度h - 所绘制边框的高度public Insets getBorderInsets(Component c)
AbstractBorder 复制的描述Insets 实例,其中 top、left、bottom 和 right 字段都设置成了 0。
Border 中的 getBorderInsetsAbstractBorder 中的 getBorderInsetsc - 应用此边框 insets 值的组件
Insets 对象
public Insets getBorderInsets(Component c,
Insets newInsets)
AbstractBorder 复制的描述
AbstractBorder 中的 getBorderInsetsc - 应用此边框 insets 值的组件newInsets - 要重新初始化的对象
insets 对象
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。