|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgcspy.vis.Markers
class Markers
Keeps track of marker ranges
Constructor Summary | |
---|---|
Markers()
New empty markers |
Method Summary | |
---|---|
MarkerRange |
add(int m1,
int m2)
Create and add a new marker range |
void |
addRange(MarkerRange newRange)
Extend a range of markers |
void |
clear()
Clear the list of markers |
java.util.Iterator<MarkerRange> |
iterator()
Get an iterator for the markers |
void |
remove(MarkerRange range)
Remove a marker range |
void |
removeRange(MarkerRange newRange)
Remove a range of markers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Markers()
Method Detail |
---|
public java.util.Iterator<MarkerRange> iterator()
public MarkerRange add(int m1, int m2)
m1
- The index of one end of the rangem2
- The indes of the other end of the range
public void remove(MarkerRange range)
range
- The range ot removepublic void addRange(MarkerRange newRange)
newRange
- The new rangepublic void removeRange(MarkerRange newRange)
newRange
- The new rangepublic void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |