public class SequenceAreaMap extends java.util.TreeMap<java.lang.String,SequenceArea> implements SelectionListener<info.bioinfweb.commons.events.GenericEventObject<SelectionModel>>
SequenceArea
s that are contained in an implementation of
ToolkitSpecificMultipleAlignmentsContainer
.Constructor and Description |
---|
SequenceAreaMap(AlignmentContentArea owner) |
Modifier and Type | Method and Description |
---|---|
AlignmentContentArea |
getOwner() |
void |
repaintSequenceAreas() |
void |
selectionChanged(info.bioinfweb.commons.events.GenericEventObject<SelectionModel> e)
This method is called every time the selection changes.
|
void |
updateElements()
Removes sequence areas for sequences that are not present anymore in the linked
AlignmentModel
and adds new sequence areas for new sequences in the provider which were not present at the last call of this
method. |
ceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
public SequenceAreaMap(AlignmentContentArea owner)
public AlignmentContentArea getOwner()
public void updateElements()
AlignmentModel
and adds new sequence areas for new sequences in the provider which were not present at the last call of this
method.public void repaintSequenceAreas()
public void selectionChanged(info.bioinfweb.commons.events.GenericEventObject<SelectionModel> e)
SelectionListener
selectionChanged
in interface SelectionListener<info.bioinfweb.commons.events.GenericEventObject<SelectionModel>>
e
- an object containing further information on this event