Package org.eclipse.net4j.util.event
Class ValueNotifier<VALUE>
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.event.ValueNotifier<VALUE>
- All Implemented Interfaces:
INotifier
,INotifier.INotifier2
A
notifier
with an ID
and a single value
.
A value notifier can fire the following events:
-
ValueEvent
after value changes.
- Since:
- 3.1
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
INotifier.INotifier2
-
Constructor Summary
ConstructorDescriptionValueNotifier
(String id) ValueNotifier
(String id, VALUE value) ValueNotifier
(VALUE value) -
Method Summary
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
-
Constructor Details
-
ValueNotifier
public ValueNotifier() -
ValueNotifier
-
ValueNotifier
-
ValueNotifier
-
-
Method Details
-
getID
-
getValue
-
setValue
-