Salt
3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
|
To all classes implementing this interface a listener can be added. More...
Inherited by org.corpus_tools.salt.extensions.notification.graph.impl.GraphNotifierImpl< N extends Node, R extends Relation< N, N, L extends Layer< N, R >, org.corpus_tools.salt.extensions.notification.graph.impl.LabelNotifierImpl, org.corpus_tools.salt.extensions.notification.graph.impl.LayerNotifierImpl< N extends Node, R extends Relation< N, N >, org.corpus_tools.salt.extensions.notification.graph.impl.NodeNotifierImpl, org.corpus_tools.salt.extensions.notification.graph.impl.RelationNotifierImpl< S extends Node, T extends Node >, and org.corpus_tools.salt.extensions.notification.SaltNotificationFactory.
Public Member Functions | |
List< Listener > | getListener () |
Returns an unmodifiable list of all listeners. More... | |
void | addListener (Listener listener) |
Adds a new listener, which then will be notified about a change in this object. More... | |
void | addListener (Collection< Listener > listener) |
Adds a set of new listener, which then will be notified about a change in this object. More... | |
void | removeListener (Listener listener) |
Removes a listener, which won't be notified about a change in this object anymore. More... | |
To all classes implementing this interface a listener can be added.
This listener would then be notified about all changes in the object.
void org.corpus_tools.salt.extensions.notification.graph.Notifier.addListener | ( | Collection< Listener > | listener | ) |
Adds a set of new listener, which then will be notified about a change in this object.
listener | to be notified |
Implemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory, org.corpus_tools.salt.extensions.notification.graph.impl.GraphNotifierImpl< N extends Node, R extends Relation< N, N, L extends Layer< N, R >, org.corpus_tools.salt.extensions.notification.graph.impl.NodeNotifierImpl, org.corpus_tools.salt.extensions.notification.graph.impl.LayerNotifierImpl< N extends Node, R extends Relation< N, N >, org.corpus_tools.salt.extensions.notification.graph.impl.RelationNotifierImpl< S extends Node, T extends Node >, and org.corpus_tools.salt.extensions.notification.graph.impl.LabelNotifierImpl.
void org.corpus_tools.salt.extensions.notification.graph.Notifier.addListener | ( | Listener | listener | ) |
Adds a new listener, which then will be notified about a change in this object.
listener | to be notified |
Implemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory, org.corpus_tools.salt.extensions.notification.graph.impl.GraphNotifierImpl< N extends Node, R extends Relation< N, N, L extends Layer< N, R >, org.corpus_tools.salt.extensions.notification.graph.impl.NodeNotifierImpl, org.corpus_tools.salt.extensions.notification.graph.impl.LayerNotifierImpl< N extends Node, R extends Relation< N, N >, org.corpus_tools.salt.extensions.notification.graph.impl.RelationNotifierImpl< S extends Node, T extends Node >, and org.corpus_tools.salt.extensions.notification.graph.impl.LabelNotifierImpl.
List<Listener> org.corpus_tools.salt.extensions.notification.graph.Notifier.getListener | ( | ) |
Returns an unmodifiable list of all listeners.
If no listener is registered null is returned.
Implemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory, org.corpus_tools.salt.extensions.notification.graph.impl.GraphNotifierImpl< N extends Node, R extends Relation< N, N, L extends Layer< N, R >, org.corpus_tools.salt.extensions.notification.graph.impl.NodeNotifierImpl, org.corpus_tools.salt.extensions.notification.graph.impl.LayerNotifierImpl< N extends Node, R extends Relation< N, N >, org.corpus_tools.salt.extensions.notification.graph.impl.RelationNotifierImpl< S extends Node, T extends Node >, and org.corpus_tools.salt.extensions.notification.graph.impl.LabelNotifierImpl.
void org.corpus_tools.salt.extensions.notification.graph.Notifier.removeListener | ( | Listener | listener | ) |
Removes a listener, which won't be notified about a change in this object anymore.
listener | to be notified |
Implemented in org.corpus_tools.salt.extensions.notification.SaltNotificationFactory, org.corpus_tools.salt.extensions.notification.graph.impl.GraphNotifierImpl< N extends Node, R extends Relation< N, N, L extends Layer< N, R >, org.corpus_tools.salt.extensions.notification.graph.impl.NodeNotifierImpl, org.corpus_tools.salt.extensions.notification.graph.impl.LayerNotifierImpl< N extends Node, R extends Relation< N, N >, org.corpus_tools.salt.extensions.notification.graph.impl.RelationNotifierImpl< S extends Node, T extends Node >, and org.corpus_tools.salt.extensions.notification.graph.impl.LabelNotifierImpl.