|
Treeviz 0.37 2010-10-17 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectch.randelshofer.tree.hypertree.HTDraw
public class HTDraw
The HTDraw class implements the drawing model for the HTView.
| Field Summary | |
|---|---|
boolean |
isAnimationEnabled
Animation only makes sense for small trees. |
| Method Summary | |
|---|---|
protected ch.randelshofer.tree.hypertree.HTDrawNode |
findDrawNode(TreeNode htNode)
Finds a HTDrawNode for a given TreeNode. |
boolean |
isAdjusting()
|
boolean |
isAnimating()
|
protected void |
mapNode(TreeNode htNode,
ch.randelshofer.tree.hypertree.HTDrawNode drawNode)
Maps a ch.randelshofer.tree.DataNode to a HTDrawNode. |
void |
repaint()
|
void |
setAdjusting(boolean newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean isAnimationEnabled
| Method Detail |
|---|
public void repaint()
public void setAdjusting(boolean newValue)
public boolean isAdjusting()
public boolean isAnimating()
protected void mapNode(TreeNode htNode,
ch.randelshofer.tree.hypertree.HTDrawNode drawNode)
ch.randelshofer.tree.DataNode to a HTDrawNode.
Used for backwards finding a HTDrawNode instance for a given
DataNode.
htNode - the DataNode.drawNode - the HTDrawNode for the given DataNode.protected ch.randelshofer.tree.hypertree.HTDrawNode findDrawNode(TreeNode htNode)
HTDrawNode for a given TreeNode.
htNode - the DataNode for which we want to find the
HTDrawNode.
HTDrawNode for the given DataNode.
|
Copyright 2007-2008 (c) Werner Randelshofer. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||