/[classpath]/classpath/javax/swing/UIDefaults.java
ViewVC logotype

Diff of /classpath/javax/swing/UIDefaults.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by mark, Sat Jul 2 20:32:49 2005 UTC revision 1.21 by rabbit78, Wed Jul 13 21:22:44 2005 UTC
# Line 74  public class UIDefaults extends Hashtabl Line 74  public class UIDefaults extends Hashtabl
74    /** We use this for firing PropertyChangeEvents. */    /** We use this for firing PropertyChangeEvents. */
75    private PropertyChangeSupport propertyChangeSupport;    private PropertyChangeSupport propertyChangeSupport;
76    
77      /**
78       * Used for lazy instantiation of UIDefaults values so that they are not
79       * all loaded when a Swing application starts up, but only the values that
80       * are really needed. An <code>ActiveValue</code> is newly instantiated
81       * every time when the value is requested, as opposed to the normal
82       * {@link LazyValue} that is only instantiated once.
83       */
84    public static interface ActiveValue    public static interface ActiveValue
85    {    {
86      Object createValue(UIDefaults table);      Object createValue(UIDefaults table);
# Line 98  public class UIDefaults extends Hashtabl Line 105  public class UIDefaults extends Hashtabl
105      }      }
106    }    }
107    
108      /**
109       * Used for lazy instantiation of UIDefaults values so that they are not
110       * all loaded when a Swing application starts up, but only the values that
111       * are really needed. A <code>LazyValue</code> is only instantiated once,
112       * as opposed to the {@link ActiveValue} that is newly created every time
113       * it is requested.
114       */
115    public static interface LazyValue    public static interface LazyValue
116    {    {
117      Object createValue(UIDefaults table);      Object createValue(UIDefaults table);

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26