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
- public class ValueNotifier<VALUE>
- extends Notifier
A notifier
with an ID
and a single value
.
A value notifier can fire the following events:
- Since:
- 3.1
Methods inherited from class org.eclipse.net4j.util.event.Notifier |
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValueNotifier
public ValueNotifier()
ValueNotifier
public ValueNotifier(VALUE value)
ValueNotifier
public ValueNotifier(String id)
ValueNotifier
public ValueNotifier(String id,
VALUE value)
getID
public String getID()
getValue
public VALUE getValue()
setValue
public void setValue(VALUE value)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.