|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一個 下一個 | 框架 無框架 |
使用 ColorType 的軟體套件 | |
---|---|
javax.swing.plaf.synth | Synth 是一個可更換皮膚 (skinnable) 的外觀,在其中可委託所有繪製。 |
javax.swing.plaf.synth 中 ColorType 的使用 |
---|
宣告為 ColorType 的 javax.swing.plaf.synth 中的欄位 | |
---|---|
static ColorType |
ColorType.BACKGROUND
某一 region 背景的 ColorType。 |
static ColorType |
ColorType.FOCUS
焦點的 ColorType。 |
static ColorType |
ColorType.FOREGROUND
某一 region 前景的 ColorType。 |
static ColorType |
ColorType.TEXT_BACKGROUND
某一 region 背景的 ColorType。 |
static ColorType |
ColorType.TEXT_FOREGROUND
某一 region 前景的 ColorType。 |
參數型別為 ColorType 的 javax.swing.plaf.synth 中的方法 | |
---|---|
Color |
SynthStyle.getColor(SynthContext context,
ColorType type)
返回指定狀態的顏色。 |
protected abstract Color |
SynthStyle.getColorForState(SynthContext context,
ColorType type)
返回指定狀態的顏色。 |
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
上一個 下一個 | 框架 無框架 |
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。