public class ValueNotifier<VALUE> extends Notifier
notifier
with an ID
and a single value
.
A value notifier can fire the following events:
ValueEvent
after value changes.
Object
oneway - - valueValueEvent
- - firesConstructor and Description |
---|
ValueNotifier() |
ValueNotifier(String id) |
ValueNotifier(String id,
VALUE value) |
ValueNotifier(VALUE value) |
Modifier and Type | Method and Description |
---|---|
String |
getID() |
VALUE |
getValue() |
void |
setValue(VALUE value) |
addListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListener
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html