JavaTM 2 Platform
Standard Ed. 6

javax.swing.plaf.metal
類別 MetalBorders.InternalFrameBorder

java.lang.Object
  繼承者 javax.swing.border.AbstractBorder
      繼承者 javax.swing.plaf.metal.MetalBorders.InternalFrameBorder
所有已實作的介面:
Serializable, Border, UIResource
正在封閉類別:
MetalBorders

public static class MetalBorders.InternalFrameBorder
extends AbstractBorder
implements UIResource


建構子摘要
MetalBorders.InternalFrameBorder()
           
 
方法摘要
 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
 

建構子詳細資訊

MetalBorders.InternalFrameBorder

public MetalBorders.InternalFrameBorder()
方法詳細資訊

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