|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jtreemap.ktreemap.SplitStrategy net.sf.jtreemap.ktreemap.SplitSquarified
public class SplitSquarified
The Squarified split strategy
Constructor Summary | |
---|---|
SplitSquarified()
|
Method Summary | |
---|---|
protected void |
calculatePositionsRec(org.eclipse.swt.graphics.Rectangle bounds,
double weight0,
java.util.List<TreeMapNode> children)
|
void |
splitElements(java.util.List<TreeMapNode> list,
java.util.List<TreeMapNode> group1,
java.util.List<TreeMapNode> group2)
split the elements of a JTreeMap. |
Methods inherited from class net.sf.jtreemap.ktreemap.SplitStrategy |
---|
calculatePositions, sortList, sumWeight |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SplitSquarified()
Method Detail |
---|
public void splitElements(java.util.List<TreeMapNode> list, java.util.List<TreeMapNode> group1, java.util.List<TreeMapNode> group2)
SplitStrategy
splitElements
in class SplitStrategy
list
- Vector with the elements to split (arg IN)group1
- first Vector of the split (arg OUT)group2
- second Vector of the split (arg OUT)protected void calculatePositionsRec(org.eclipse.swt.graphics.Rectangle bounds, double weight0, java.util.List<TreeMapNode> children)
calculatePositionsRec
in class SplitStrategy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |