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 |
afterModelChanged(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 afterModelChanged(AlignmentModel<T> previous, AlignmentModel<U> current)
AlignmentModel
.
This happens if the alignment model of an AlignmentArea
was changed.
previous
- the alignment model this listener was attached to before the event happenedcurrent
- the new alignment model this listener is attached to now