public class

SwingLazyValue

extends Object
implements UIDefaults.LazyValue
java.lang.Object
   ↳ sun.swing.SwingLazyValue

Class Overview

SwingLazyValue is a copy of ProxyLazyValue that does not snapshot the AccessControlContext or use a doPrivileged to resolve the class name. It's intented for use in places in Swing where we need ProxyLazyValue, this should never be used in a place where the developer could supply the arguments.

Summary

Public Constructors
SwingLazyValue(String c)
SwingLazyValue(String c, String m)
SwingLazyValue(String c, Object[] o)
SwingLazyValue(String c, String m, Object[] o)
Public Methods
Object createValue(UIDefaults table)
Creates the actual value retrieved from the UIDefaults table.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.swing.UIDefaults.LazyValue

Public Constructors

public SwingLazyValue (String c)

public SwingLazyValue (String c, String m)

public SwingLazyValue (String c, Object[] o)

public SwingLazyValue (String c, String m, Object[] o)

Public Methods

public Object createValue (UIDefaults table)

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.

Parameters
table a UIDefaults table
Returns
  • the created Object