public interface PherogramComponentModelListener
PherogramComponentModel
.
Note that setting a new pherogram provider in the according model often also leads to changing the cut
positions at the same time. In such cases the order of events is always
pherogramProviderChange(PherogramProviderChangeEvent)
, than
leftCutPositionChange(PherogramCutPositionChangeEvent)
and finally
rightCutPositionChange(PherogramCutPositionChangeEvent)
.
Modifier and Type | Method and Description |
---|---|
void |
firstSequencePositionChange(PherogramFirstSeqPosChangeEvent event)
This method is called, if the
PherogramAreaModel.getFirstSeqPos() was changed. |
void |
leftCutPositionChange(PherogramCutPositionChangeEvent event)
This method is called, if the left cut position of the pherogram was changed.
|
void |
pherogramProviderChange(PherogramProviderChangeEvent event)
This method is called, if the pherogram provider of a pherogram component model was replaced
or its contents changed.
|
void |
rightCutPositionChange(PherogramCutPositionChangeEvent event)
This method is called, if the right cut position of the pherogram was changed.
|
void pherogramProviderChange(PherogramProviderChangeEvent event)
event
- object the event describing this eventvoid leftCutPositionChange(PherogramCutPositionChangeEvent event)
event
- object the event describing this eventvoid rightCutPositionChange(PherogramCutPositionChangeEvent event)
event
- object the event describing this eventvoid firstSequencePositionChange(PherogramFirstSeqPosChangeEvent event)
PherogramAreaModel.getFirstSeqPos()
was changed.
Note that this event will only be fired by instances of PherogramAreaModel
and never
by an instance of PherogramComponentModel
.
event
- object the event describing this event