Class WeakChangeSupport
java.lang.Object
org.pushingpixels.radiance.component.internal.utils.WeakChangeSupport
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<WeakChangeSupport.WeakChangeListener> private final ChangeAware -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the specified change listener to track changes to the tracked source.voidNotifies all registered listeners that the state of the tracked source has changed.voidRemoves the specified change listener from tracking changes to the tracked source.
-
Field Details
-
listenerList
-
source
-
-
Constructor Details
-
WeakChangeSupport
-
-
Method Details
-
addChangeListener
Adds the specified change listener to track changes to the tracked source.- Parameters:
l- Change listener to add.- See Also:
-
removeChangeListener
Removes the specified change listener from tracking changes to the tracked source.- Parameters:
l- Change listener to remove.- See Also:
-
fireStateChanged
public void fireStateChanged()Notifies all registered listeners that the state of the tracked source has changed.
-