public class CharSet extends NonOverlappingIntervalList
Constructor and Description |
---|
CharSet(java.lang.String name,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(int firstPos,
int lastPos) |
java.awt.Color |
getColor() |
protected java.util.Set<CharSetDataModel> |
getModels()
Returns a set of model classes that contain this character set.
|
java.lang.String |
getName() |
boolean |
remove(int firstPos,
int lastPos) |
boolean |
remove(java.lang.Object o) |
void |
setColor(java.awt.Color color) |
void |
setName(java.lang.String name) |
add, add, addAll, addAll, contains, containsAll, getOverlappingElements, movePositions
addAll, ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, size, spliterator, subSet, subSet, tailSet, tailSet
containsAll, retainAll, toArray, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
public CharSet(java.lang.String name, java.awt.Color color)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.awt.Color getColor()
public void setColor(java.awt.Color color)
public boolean add(int firstPos, int lastPos)
add
in class NonOverlappingIntervalList
public boolean remove(java.lang.Object o)
remove
in interface java.util.Collection<SimpleSequenceInterval>
remove
in interface java.util.Set<SimpleSequenceInterval>
remove
in class NonOverlappingIntervalList
public boolean remove(int firstPos, int lastPos)
remove
in class NonOverlappingIntervalList
protected java.util.Set<CharSetDataModel> getModels()
This property is only meant for internal use in LibrAlign and should not be used in application code directly and is not visible there. It is used to inform model classes of property changes of an contained character set.