new ChangeForwarder.Retyper(this, cs, Annotation.PROPERTY)
insteadpublic static class Distribution.NullModelForwarder extends ChangeForwarder
ChangeForwarder.RetyperChangeListener.AlwaysVetoListener, ChangeListener.ChangeEventRecorder, ChangeListener.LoggingListenerALWAYS_VETO, LOG_TO_OUT| Constructor and Description |
|---|
NullModelForwarder(Object source,
ChangeSupport cs)
Deprecated.
Create a new forwarder.
|
| Modifier and Type | Method and Description |
|---|---|
protected ChangeEvent |
generateEvent(ChangeEvent ce)
Deprecated.
Return the new event to represent the originating event ce.
|
changeSupport, getSource, postChange, preChangepublic NullModelForwarder(Object source, ChangeSupport cs)
source - the Object who events are forwarded on behalf ofcs - the change support that manages the listenersprotected ChangeEvent generateEvent(ChangeEvent ce)
ChangeForwarderReturn the new event to represent the originating event ce.
The returned ChangeEvent is the event that will be fired, and should be built from information in the original event. If it is null, then no event will be fired.
The default implementation just constructs a ChangeEvent of the same type that chains back to ce.
generateEvent in class ChangeForwarderce - the originating ChangeEventCopyright © 2020 BioJava. All rights reserved.