public interface ChangeGenerator<T>
ChangeListener
there has to be an event generate. This interface implies that this class is an event generator
to change listeners.
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener<T> changeListener)
Allow Notify all
ChangeListener s about a change |
List<ChangeListener<T>> |
getListeners()
Get list directly.
|
void |
notifyAllListeners(T object)
Whenever a node is selected/updated, it also notifies its listeners.
|
void |
setListeners(List<ChangeListener<T>> listeners)
Set list directly.
|
void addChangeListener(ChangeListener<T> changeListener)
ChangeListener
s about a changechangeListener
- void notifyAllListeners(T object)
object
- List<ChangeListener<T>> getListeners()
void setListeners(List<ChangeListener<T>> listeners)
Copyright © 2018. All rights reserved.