|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.geom.RectangularShape
java.awt.geom.Rectangle2D
java.awt.geom.Rectangle2D.Double
jprotein.tree.data.VisualLeaf
jprotein.tree.data.VisualNode
public class VisualNode
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.geom.Rectangle2D |
---|
java.awt.geom.Rectangle2D.Double, java.awt.geom.Rectangle2D.Float |
Field Summary |
---|
Fields inherited from class java.awt.geom.Rectangle2D.Double |
---|
height, width |
Fields inherited from class java.awt.geom.Rectangle2D |
---|
OUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP |
Constructor Summary | |
---|---|
VisualNode(SimpleNode node,
VisualLeaf left,
VisualLeaf right)
|
Method Summary | |
---|---|
java.util.Vector |
getChild()
|
double |
getLeftSpan()
|
double |
getRightSpan()
|
double |
getSpan()
|
double |
getVMaxX()
|
double |
getVMaxY()
|
double |
getVMinX()
|
VisualLeaf |
goLeft()
|
VisualLeaf |
goRight()
|
void |
render(java.awt.Graphics2D g2)
|
void |
setVX(double x)
|
void |
setVY(double y)
|
void |
updateTree()
|
Methods inherited from class jprotein.tree.data.VisualLeaf |
---|
equals, getLeaf, getVX, getVY, isSelected, select, setScale, toString |
Methods inherited from class java.awt.geom.Rectangle2D.Double |
---|
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect |
Methods inherited from class java.awt.geom.Rectangle2D |
---|
add, add, add, contains, contains, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, union |
Methods inherited from class java.awt.geom.RectangularShape |
---|
clone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonal |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VisualNode(SimpleNode node, VisualLeaf left, VisualLeaf right)
Method Detail |
---|
public VisualLeaf goLeft()
public VisualLeaf goRight()
public double getLeftSpan()
getLeftSpan
in class VisualLeaf
public double getRightSpan()
getRightSpan
in class VisualLeaf
public double getSpan()
getSpan
in class VisualLeaf
public java.util.Vector getChild()
getChild
in class VisualLeaf
public void setVX(double x)
setVX
in class VisualLeaf
public void setVY(double y)
setVY
in class VisualLeaf
public double getVMaxX()
getVMaxX
in class VisualLeaf
public double getVMinX()
getVMinX
in class VisualLeaf
public double getVMaxY()
getVMaxY
in class VisualLeaf
public void updateTree()
updateTree
in class VisualLeaf
public void render(java.awt.Graphics2D g2)
render
in class VisualLeaf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |