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); |
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); |