javax.swing.plaf.metal
Class MetalLookAndFeel.FontActiveValue

java.lang.Object
  extended byjavax.swing.plaf.metal.MetalLookAndFeel.FontActiveValue
All Implemented Interfaces:
UIDefaults.ActiveValue
Enclosing class:
MetalLookAndFeel

private static class MetalLookAndFeel.FontActiveValue
extends Object
implements UIDefaults.ActiveValue

FontActiveValue redirects to the appropriate metal theme method.


Field Summary
private  MetalTheme theme
           
private  int type
           
 
Constructor Summary
(package private) MetalLookAndFeel.FontActiveValue(MetalTheme theme, int type)
           
 
Method Summary
 Object createValue(UIDefaults table)
          Creates the value retrieved from the UIDefaults table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private int type

theme

private MetalTheme theme
Constructor Detail

MetalLookAndFeel.FontActiveValue

MetalLookAndFeel.FontActiveValue(MetalTheme theme,
                                 int type)
Method Detail

createValue

public Object createValue(UIDefaults table)
Description copied from interface: UIDefaults.ActiveValue
Creates the value retrieved from the UIDefaults table. The object is created each time it is accessed.

Specified by:
createValue in interface UIDefaults.ActiveValue
Parameters:
table - a UIDefaults table
Returns:
the created Object