javax.swing.plaf.metal
Class MetalLookAndFeel.MetalLazyValue
java.lang.Object
javax.swing.plaf.metal.MetalLookAndFeel.MetalLazyValue
- All Implemented Interfaces:
- UIDefaults.LazyValue
- Enclosing class:
- MetalLookAndFeel
- private static class MetalLookAndFeel.MetalLazyValue
- extends Object
- implements UIDefaults.LazyValue
MetalLazyValue is a slimmed down version of ProxyLaxyValue
.
The code is duplicate so that it can get at the package private
classes in metal.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
className
private String className
- Name of the class to create.
MetalLookAndFeel.MetalLazyValue
MetalLookAndFeel.MetalLazyValue(String name)
createValue
public Object createValue(UIDefaults table)
- Description copied from interface:
UIDefaults.LazyValue
- Creates the actual value retrieved from the
UIDefaults
table. When an object that implements this interface is
retrieved from the table, this method is used to create
the real value, which is then stored in the table and
returned to the calling method.
- Specified by:
createValue
in interface UIDefaults.LazyValue
- Parameters:
table
- a UIDefaults
table
- Returns:
- the created
Object