|
JavaTM 2 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 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。