public class NodeNotifierImpl extends org.corpus_tools.salt.graph.impl.NodeImpl implements org.corpus_tools.salt.graph.Node, Notifier
| Modifier and Type | Field and Description |
|---|---|
protected List<Listener> |
listenerList |
| Constructor and Description |
|---|
NodeNotifierImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLabel(org.corpus_tools.salt.graph.Label label)
Notifies all registered listeners.
|
void |
addListener(Collection<Listener> listener)
Adds a set of new listener, which then will be notified about a change in
this object.
|
void |
addListener(Listener listener)
Adds a new listener, which then will be notified about a change in this
object.
|
List<Listener> |
getListener()
Returns an unmodifiable list of all listeners.
|
void |
removeAll()
Notifies all registered listeners.
|
void |
removeLabel(String qName)
Notifies all registered listeners.
|
void |
removeListener(Listener listener)
Removes a listener, which won't be notified about a change in this object
anymore.
|
addLayer, basicSetGraph_WithoutRemoving, basicSetGraph, getDelegate, getGraph, getLayers, removeLayer, setGraphgetId, getIdentifier, setId, setIdentifier, toStringbasicAddLabel, basicRemoveLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeLabel, sizeLabelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLayer, getGraph, getLayers, removeLayer, setGraphpublic List<Listener> getListener()
getListener in interface Notifierpublic void addListener(Listener listener)
addListener in interface Notifierlistener - to be notifiedpublic void addListener(Collection<Listener> listener)
addListener in interface Notifierlistener - to be notifiedpublic void removeListener(Listener listener)
removeListener in interface Notifierlistener - to be notifiedpublic void addLabel(org.corpus_tools.salt.graph.Label label)
addLabel in interface org.corpus_tools.salt.graph.LabelableElementaddLabel in class org.corpus_tools.salt.graph.impl.LabelableElementImplpublic void removeLabel(String qName)
removeLabel in interface org.corpus_tools.salt.graph.LabelableElementremoveLabel in class org.corpus_tools.salt.graph.impl.IdentifiableElementImplpublic void removeAll()
removeAll in interface org.corpus_tools.salt.graph.LabelableElementremoveAll in class org.corpus_tools.salt.graph.impl.LabelableElementImplCopyright © 2009–2016 Humboldt-Universität zu Berlin, INRIA. All rights reserved.