public class LabelNotifierImpl extends org.corpus_tools.salt.graph.impl.LabelImpl implements org.corpus_tools.salt.graph.Label, Notifier
| Modifier and Type | Field and Description |
|---|---|
protected List<Listener> |
listenerList |
container, name, namespace, value| Constructor and Description |
|---|
LabelNotifierImpl() |
| 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.
|
void |
setName(String name)
Notifies all registered listeners.
|
void |
setNamespace(String namespace)
Notifies all registered listeners.
|
void |
setQName(String qName)
Notifies all registered listeners.
|
void |
setValue(Object value)
Notifies all registered listeners.
|
basicSetLabelableElement, copy, getContainer, getDelegate, getName, getNamespace, getQName, getValue, setContainer, toStringbasicAddLabel, basicRemoveLabel, containsLabel, getLabel, getLabel, getLabels, getLabelsByNamespace, removeLabel, sizeLabelsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContainer, getName, getNamespace, getQName, getValue, setContainerpublic 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.LabelableElementImplpublic void removeAll()
removeAll in interface org.corpus_tools.salt.graph.LabelableElementremoveAll in class org.corpus_tools.salt.graph.impl.LabelableElementImplpublic void setNamespace(String namespace)
setNamespace in interface org.corpus_tools.salt.graph.LabelsetNamespace in class org.corpus_tools.salt.graph.impl.LabelImplpublic void setName(String name)
setName in interface org.corpus_tools.salt.graph.LabelsetName in class org.corpus_tools.salt.graph.impl.LabelImplpublic void setQName(String qName)
setQName in interface org.corpus_tools.salt.graph.LabelsetQName in class org.corpus_tools.salt.graph.impl.LabelImplpublic void setValue(Object value)
setValue in interface org.corpus_tools.salt.graph.LabelsetValue in class org.corpus_tools.salt.graph.impl.LabelImplCopyright © 2009–2020 Humboldt-Universität zu Berlin, INRIA. All rights reserved.