Home » openjdk-7 » javax » swing » plaf » metal » [javadoc | source]
javax.swing.plaf.metal
class: MetalFontDesktopProperty [javadoc | source]
java.lang.Object
   com.sun.java.swing.plaf.windows.DesktopProperty
      javax.swing.plaf.metal.MetalFontDesktopProperty

All Implemented Interfaces:
    ActiveValue

DesktopProperty that only uses font height in configuring font. This is only used on Windows.
Constructor:
 MetalFontDesktopProperty(int type) 
 MetalFontDesktopProperty(String key,
    int type) 
    Creates a MetalFontDesktopProperty.
    Parameters:
    key - Key used in looking up desktop value.
    toolkit - Toolkit used to fetch property from, can be null in which default will be used.
    type - Type of font being used, corresponds to MetalTheme font type.
Method from javax.swing.plaf.metal.MetalFontDesktopProperty Summary:
configureValue,   getDefaultValue
Methods from com.sun.java.swing.plaf.windows.DesktopProperty:
access$000,   access$100,   access$200,   configureValue,   createValue,   flushUnreferencedProperties,   getDefaultValue,   getKey,   getValueFromDesktop,   invalidate,   invalidate,   updateUI
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.metal.MetalFontDesktopProperty Detail:
 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.