|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.olduvai.accordiondrawer.SplitAxis.MovingSplitLine
protected class SplitAxis.MovingSplitLine
Wrapper class for storing end position and Split line state for a moving split line.
Field Summary | |
---|---|
private double |
finalAbsolutePos
Final position of the split line in world-space coordinates. |
private SplitLine |
line
Split line state variable. |
Constructor Summary | |
---|---|
SplitAxis.MovingSplitLine(SplitLine line,
double finalAbsolutePos)
Constructor for moving split lines. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object arg0)
Use the split line comparison function to compare two moving split lines for similarity. |
java.lang.String |
toString()
Display function for moving split lines. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private SplitLine line
private double finalAbsolutePos
Constructor Detail |
---|
public SplitAxis.MovingSplitLine(SplitLine line, double finalAbsolutePos)
line
- Line that is moving.finalAbsolutePos
- Final position in world-space coordinates for this line.
The current position is always stored by the split line (cached) or may be computed
with relative positions of a split line's ancestory.Method Detail |
---|
public int compareTo(java.lang.Object arg0)
compareTo
in interface java.lang.Comparable
arg0
- Second split line to compare with.
SplitLine.compareTo(Object)
for return values.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |