org.eclipse.net4j.util.event
Class ValueNotifier<VALUE>

java.lang.Object
  extended by org.eclipse.net4j.util.event.Notifier
      extended by 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

Constructor Summary
ValueNotifier()
           
ValueNotifier(String id)
           
ValueNotifier(String id, VALUE value)
           
ValueNotifier(VALUE value)
           
 
Method Summary
 String getID()
           
 VALUE getValue()
           
 void setValue(VALUE value)
           
 
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
 

Constructor Detail

ValueNotifier

public ValueNotifier()

ValueNotifier

public ValueNotifier(VALUE value)

ValueNotifier

public ValueNotifier(String id)

ValueNotifier

public ValueNotifier(String id,
                     VALUE value)
Method Detail

getID

public String getID()

getValue

public VALUE getValue()

setValue

public void setValue(VALUE value)


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.