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 .
org.corpus_tools.salt.extensions.notification.graph.Notifier Interface Reference

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< ListenergetListener ()
 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...
 

Detailed Description

To all classes implementing this interface a listener can be added.

This listener would then be notified about all changes in the object.

Author
florian

Member Function Documentation

◆ addListener() [1/2]

◆ addListener() [2/2]

◆ getListener()

◆ removeListener()