| Constructor and Description |
|---|
SourceAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeSink(AttributeSink sink)
Add a sink for attribute events only.
|
void |
addElementSink(ElementSink sink)
Add a sink for elements events only.
|
void |
addSink(Sink sink)
Add a sink for all graph events (attributes and graph elements) coming
from this source.
|
void |
clearAttributeSinks()
Remove all listener attribute sinks.
|
void |
clearElementSinks()
Remove all listener element sinks.
|
void |
clearSinks()
Remove all listener sinks.
|
void |
removeAttributeSink(AttributeSink sink)
Remove an attribute sink.
|
void |
removeElementSink(ElementSink sink)
Remove an element sink.
|
void |
removeSink(Sink sink)
Remove a sink.
|
public void addAttributeSink(AttributeSink sink)
SourceaddAttributeSink in interface Sourcesink - The sink to register.public void addElementSink(ElementSink sink)
SourceaddElementSink in interface Sourcesink - The sink to register.public void addSink(Sink sink)
Sourcepublic void removeAttributeSink(AttributeSink sink)
SourceremoveAttributeSink in interface Sourcesink - The sink to remove, if it does not exist, this is ignored
silently.public void removeElementSink(ElementSink sink)
SourceremoveElementSink in interface Sourcesink - The sink to remove, if it does not exist, this is ignored
silently.public void removeSink(Sink sink)
SourceremoveSink in interface Sourcesink - The sink to remove, if it does not exist, this is ignored
silently.public void clearAttributeSinks()
SourceclearAttributeSinks in interface Sourcepublic void clearElementSinks()
SourceclearElementSinks in interface Sourcepublic void clearSinks()
SourceclearSinks in interface SourceCopyright © 2015. All rights reserved.