|
TreeMap Java Library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
treemap.TMAlgorithm
treemap.TMAlgorithmClassic
public class TMAlgorithmClassic
The TMAlgorithmClassic class implements a classic treemap drawing algorithm.
Field Summary |
---|
Fields inherited from class treemap.TMAlgorithm |
---|
border, borderLimit, borderSize, cushion, f, h, HORIZONTAL, IS, LX, LY, LZ, nodesTitles, root, VERTICAL, view |
Constructor Summary | |
---|---|
TMAlgorithmClassic()
|
Method Summary | |
---|---|
protected void |
drawChildren(java.awt.Graphics2D g,
treemap.TMNodeModelComposite node,
short axis,
int level)
Draws the children of a node, by setting their drawing area first, dependant of the algorithm used. |
Methods inherited from class treemap.TMAlgorithm |
---|
computeCushionData, dontDrawNodesTitles, drawNodes, drawNodesTitles, fillCushionNode, fillNode, getBorderSize, getConfiguringView, initialize, isDrawingTitles, setBorderSize, switchAxis |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TMAlgorithmClassic()
Method Detail |
---|
protected void drawChildren(java.awt.Graphics2D g, treemap.TMNodeModelComposite node, short axis, int level)
drawChildren
in class TMAlgorithm
g
- the graphic contextnode
- the node whose children should be drawnaxis
- the axis of separationlevel
- the level of deep
|
TreeMap Java Library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |