com.alee.utils.swing
Class SwingLazyValue

java.lang.Object
  extended by com.alee.utils.swing.SwingLazyValue
All Implemented Interfaces:
javax.swing.UIDefaults.LazyValue

public class SwingLazyValue
extends java.lang.Object
implements javax.swing.UIDefaults.LazyValue

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.

Author:
Mikle Garin

Constructor Summary
SwingLazyValue(java.lang.String c)
           
SwingLazyValue(java.lang.String c, java.lang.Object[] o)
           
SwingLazyValue(java.lang.String c, java.lang.String m)
           
SwingLazyValue(java.lang.String c, java.lang.String m, java.lang.Object[] o)
           
 
Method Summary
 java.lang.Object createValue(javax.swing.UIDefaults table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingLazyValue

public SwingLazyValue(java.lang.String c)

SwingLazyValue

public SwingLazyValue(java.lang.String c,
                      java.lang.String m)

SwingLazyValue

public SwingLazyValue(java.lang.String c,
                      java.lang.Object[] o)

SwingLazyValue

public SwingLazyValue(java.lang.String c,
                      java.lang.String m,
                      java.lang.Object[] o)
Method Detail

createValue

public java.lang.Object createValue(javax.swing.UIDefaults table)
Specified by:
createValue in interface javax.swing.UIDefaults.LazyValue