JavaTM 2 Platform
Standard Ed. 6

javax.swing.plaf.metal
类 MetalBorders.ToolBarBorder

java.lang.Object
  继承者 javax.swing.border.AbstractBorder
      继承者 javax.swing.plaf.metal.MetalBorders.ToolBarBorder
所有已实现的接口:
Serializable, Border, UIResource, SwingConstants
正在封闭类:
MetalBorders

public static class MetalBorders.ToolBarBorder
extends AbstractBorder
implements UIResource, SwingConstants


字段摘要
protected  javax.swing.plaf.metal.MetalBumps bumps
           
 
从接口 javax.swing.SwingConstants 继承的字段
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
构造方法摘要
MetalBorders.ToolBarBorder()
           
 
方法摘要
 Insets getBorderInsets(Component c)
          此默认实现返回一个新的 Insets 实例,其中 topleftbottomright 字段都设置成了 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
 

字段详细信息

bumps

protected javax.swing.plaf.metal.MetalBumps bumps
构造方法详细信息

MetalBorders.ToolBarBorder

public MetalBorders.ToolBarBorder()
方法详细信息

paintBorder

public void paintBorder(Component c,
                        Graphics g,
                        int x,
                        int y,
                        int w,
                        int h)
从类 AbstractBorder 复制的描述
此默认实现不执行绘制操作。

指定者:
接口 Border 中的 paintBorder
覆盖:
AbstractBorder 中的 paintBorder
参数:
c - 要为其绘制边框的组件
g - 绘制的图形
x - 所绘制边框的 x 坐标位置
y - 所绘制边框的 y 坐标位置
w - 所绘制边框的宽度
h - 所绘制边框的高度

getBorderInsets

public Insets getBorderInsets(Component c)
从类 AbstractBorder 复制的描述
此默认实现返回一个新的 Insets 实例,其中 topleftbottomright 字段都设置成了 0

指定者:
接口 Border 中的 getBorderInsets
覆盖:
AbstractBorder 中的 getBorderInsets
参数:
c - 应用此边框 insets 值的组件
返回:
已初始化为 0 的新 Insets 对象

getBorderInsets

public Insets getBorderInsets(Component c,
                              Insets newInsets)
从类 AbstractBorder 复制的描述
用此边框的当前 Insets 重新初始化 insets 参数。

覆盖:
AbstractBorder 中的 getBorderInsets
参数:
c - 应用此边框 insets 值的组件
newInsets - 要重新初始化的对象
返回:
insets 对象

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only