|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.olduvai.accordiondrawer.DrawableRange
public abstract class DrawableRange
A drawable range represents a range of objects on a given axis. (Could be X or Y.) The min and max are indices into the SplitLine array that represent the beginning and end of the range. AbstractRangeList stores multiple DrawableRanges.
AbstractRangeList
Field Summary | |
---|---|
protected AccordionDrawer |
drawer
The drawer for this range. |
protected AbstractRangeList |
group
The group that this range is within, if applicable. |
protected int |
max
The maximum split line index of all objects in the range. |
protected int |
min
The minimum split line index of all objects in the range. |
Constructor Summary | |
---|---|
DrawableRange()
|
Method Summary | |
---|---|
abstract boolean |
equals(java.lang.Object o)
Equals comparator for application-specific ranges. |
AccordionDrawer |
getAD()
Drawer accessor. |
AbstractRangeList |
getGroup()
Group accessor for the range. |
int |
getMax()
Maximum split line accessor. |
int |
getMin()
Minimum split line accessor. |
int |
rangeLength()
Range length accessor. |
void |
setGroup(AbstractRangeList group)
Mutator for group , the group for this range. |
void |
setMax(int max)
Maximum split line mutator. |
void |
setMin(int min)
Minimum split line mutator. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
protected int min
protected int max
protected AccordionDrawer drawer
protected AbstractRangeList group
Constructor Detail |
---|
public DrawableRange()
Method Detail |
---|
public AccordionDrawer getAD()
drawer
.public int getMin()
public void setMin(int min)
min
- The new minimum split line bound of the range min
.public int getMax()
public void setMax(int max)
max
- The new maximum split line bound of the range max
.public int rangeLength()
public abstract boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- The other range for comparison.
public AbstractRangeList getGroup()
public void setGroup(AbstractRangeList group)
group
, the group for this range.
group
- The group to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |