|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.java.swing.plaf.windows.DesktopProperty javax.swing.plaf.metal.MetalFontDesktopProperty
DesktopProperty that only uses font height in configuring font. This is only used on Windows.
Nested Class Summary |
Nested classes inherited from class com.sun.java.swing.plaf.windows.DesktopProperty |
|
Field Summary | |
private static String[] |
propertyMapping
Maps from metal font theme type as defined in MetalTheme to the corresponding desktop property name. |
private int |
type
Corresponds to a MetalTheme font type. |
Fields inherited from class com.sun.java.swing.plaf.windows.DesktopProperty |
|
Constructor Summary | |
(package private) |
MetalFontDesktopProperty(int type)
Creates a MetalFontDesktopProperty. |
(package private) |
MetalFontDesktopProperty(String key,
Toolkit kit,
int type)
Creates a MetalFontDesktopProperty. |
Method Summary | |
protected Object |
configureValue(Object value)
Overriden to create a Font with the size coming from the desktop and the style and name coming from DefaultMetalTheme. |
protected Object |
getDefaultValue()
Returns the default font. |
Methods inherited from class com.sun.java.swing.plaf.windows.DesktopProperty |
createValue, getKey, getValueFromDesktop, invalidate, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String[] propertyMapping
private int type
Constructor Detail |
MetalFontDesktopProperty(int type)
type
- MetalTheme font type.MetalFontDesktopProperty(String key, Toolkit kit, int type)
key
- Key used in looking up desktop value.type
- Type of font being used, corresponds to MetalTheme font
type.Method Detail |
protected Object configureValue(Object value)
protected Object getDefaultValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |