T - the type of sequence elements (tokens) the implementing provider object works withpublic class AlignmentModelChangeEvent<T> extends javax.swing.event.ChangeEvent implements java.lang.Cloneable
AlignmentModel.| Constructor and Description |
|---|
AlignmentModelChangeEvent(AlignmentModel<T> source,
java.lang.String sequenceID)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
AlignmentModelChangeEvent<T> |
clone() |
AlignmentModelChangeEvent<T> |
cloneWithNewSource(AlignmentModel<T> source)
Creates a copy of this event with all properties set to identical values but with a
different source.
|
java.lang.String |
getSequenceID()
Returns the unique ID of the affected sequence
|
AlignmentModel<T> |
getSource()
Returns the data provider where the change took place.
|
public AlignmentModelChangeEvent(AlignmentModel<T> source, java.lang.String sequenceID)
source - the data provider where the change took placesequenceID - the unique ID of the affected sequencepublic AlignmentModel<T> getSource()
getSource in class java.util.EventObjectAlignmentModelpublic java.lang.String getSequenceID()
public AlignmentModelChangeEvent<T> cloneWithNewSource(AlignmentModel<T> source)
source - the source model to be used for the created copypublic AlignmentModelChangeEvent<T> clone()
clone in class java.lang.Object