|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgcspy.vis.MarkerRange
class MarkerRange
A marker range
Constructor Summary | |
---|---|
MarkerRange(int m1,
int m2)
Create a new range |
Method Summary | |
---|---|
void |
copyFrom(MarkerRange range)
Copy a marker range |
int |
getFrom()
Get the start of the range |
int |
getTo()
Get the end of the range |
boolean |
isNewlyAdded()
The range has been newly added |
void |
set(int m1,
int m2)
Set a new range |
void |
setFrom(int from)
Set the start of the range |
void |
setTo(int to)
Set the end of the range |
void |
unsetNewlyAdded()
The range has not been newly added |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MarkerRange(int m1, int m2)
m1
- The index of one end of the rangem2
- The index of the other end of the rangeMethod Detail |
---|
public int getFrom()
public int getTo()
public void unsetNewlyAdded()
public boolean isNewlyAdded()
public void set(int m1, int m2)
m1
- The index of one end of the rangem2
- The index of the other end of the rangepublic void setTo(int to)
public void setFrom(int from)
public void copyFrom(MarkerRange range)
range
- The source range
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |