|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.basic.BasicBorders.SplitPaneBorder
public static class BasicBorders.SplitPaneBorder
繪製圍繞拆分窗格的邊框。要使工作正常進行,還應該在分隔符(屬性 SplitPaneDivider.border)上安裝邊框。
| 欄位摘要 | |
|---|---|
protected Color |
highlight
|
protected Color |
shadow
|
| 建構子摘要 | |
|---|---|
BasicBorders.SplitPaneBorder(Color highlight,
Color shadow)
|
|
| 方法摘要 | |
|---|---|
Insets |
getBorderInsets(Component c)
返回該邊框的 insets。 |
boolean |
isBorderOpaque()
返回此邊框是否透明。 |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
按指定的位置和尺寸繪製指定元件的邊框。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 欄位詳細資訊 |
|---|
protected Color highlight
protected Color shadow
| 建構子詳細資訊 |
|---|
public BasicBorders.SplitPaneBorder(Color highlight,
Color shadow)
| 方法詳細資訊 |
|---|
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Border 複製的描述
Border 中的 paintBorderc - 要為其繪製邊框的元件g - 繪製的圖形x - 所繪製邊框的 x 坐標位置y - 所繪製邊框的 y 坐標位置width - 所繪製邊框的寬度height - 所繪製邊框的高度public Insets getBorderInsets(Component c)
Border 複製的描述
Border 中的 getBorderInsetsc - 要應用此邊框 insets 值的元件public boolean isBorderOpaque()
Border 複製的描述
Border 中的 isBorderOpaque
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。