public interface AlignmentModelChangeListener
AlignmentModel
.
This class does not specify a global generic token type parameter since the AlignmentModel
is listens to may change during runtime if the provider that is attached to the AlignmentArea
is substituted.
Modifier and Type | Method and Description |
---|---|
<T,U> void |
afterProviderChanged(AlignmentModel<T> previous,
AlignmentModel<U> current)
Called if this listener was moved to another instance of
AlignmentModel . |
<T> void |
afterSequenceChange(SequenceChangeEvent<T> e)
Called after a sequence has been inserted, removed or replaced.
|
<T> void |
afterSequenceRenamed(SequenceRenamedEvent<T> e)
Called after a sequence was renamed.
|
<T> void |
afterTokenChange(TokenChangeEvent<T> e)
Called after a single token or a set of tokens has been inserted, removed or replaced.
|
<T> void afterSequenceChange(SequenceChangeEvent<T> e)
e
- the event object containing information on the change<T> void afterSequenceRenamed(SequenceRenamedEvent<T> e)
e
- the event object containing information on the change<T> void afterTokenChange(TokenChangeEvent<T> e)
e
- the event object containing information on the change<T,U> void afterProviderChanged(AlignmentModel<T> previous, AlignmentModel<U> current)
AlignmentModel
.
This might e.g. happen, if the data provider of an AlignmentArea
was changed.
previous
- the data provider this listener was attached to before the event happenedcurrent
- the new data provider this listener is attached to now