| Modifier and Type | Field and Description |
|---|---|
| private static final 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. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | MetalFontDesktopProperty(String
Key used in looking up desktop value. key, int Type of font being used, corresponds to MetalTheme font
type. type)Creates a MetalFontDesktopProperty. |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | configureValue(Object value)
Overrides sun. Overridden to create a Font with the size coming from the desktop and the style and name coming from DefaultMetalTheme. |
| protected Object | getDefaultValue()
Overrides sun. Returns the default font. |
| propertyMapping | back to summary |
|---|---|
| private static final String[] propertyMapping Maps from metal font theme type as defined in MetalTheme to the corresponding desktop property name. | |
| type | back to summary |
|---|---|
| private int type Corresponds to a MetalTheme font type. | |
| MetalFontDesktopProperty | back to summary |
|---|---|
| pack-priv MetalFontDesktopProperty(int type) Creates a MetalFontDesktopProperty. The key used to lookup the desktop property is determined from the type of font.
| |
| MetalFontDesktopProperty | back to summary |
|---|---|
| pack-priv MetalFontDesktopProperty(String key, int type) Creates a MetalFontDesktopProperty.
| |
| configureValue | back to summary |
|---|---|
| protected Object configureValue(Object value) Overrides sun. Overridden to create a Font with the size coming from the desktop and the style and name coming from DefaultMetalTheme. | |
| getDefaultValue | back to summary |
|---|---|
| protected Object getDefaultValue() Overrides sun. Returns the default font. | |