|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jtreemap.swing.SplitStrategy
net.sf.jtreemap.swing.SplitByWeight
public class SplitByWeight
Strategy who split the elements in 2 groups of equivalent weight.

| Constructor Summary | |
|---|---|
SplitByWeight()
|
|
| Method Summary | |
|---|---|
void |
splitElements(java.util.Vector<TreeMapNode> v,
java.util.Vector<TreeMapNode> v1,
java.util.Vector<TreeMapNode> v2)
split the elements of a JTreeMap. |
| Methods inherited from class net.sf.jtreemap.swing.SplitStrategy |
|---|
calculatePositions, calculatePositionsRec, sortVector, sumWeight, workOutWeight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplitByWeight()
| Method Detail |
|---|
public void splitElements(java.util.Vector<TreeMapNode> v,
java.util.Vector<TreeMapNode> v1,
java.util.Vector<TreeMapNode> v2)
SplitStrategy
splitElements in class SplitStrategyv - Vector with the elements to split (arg IN)v1 - first Vector of the split (arg OUT)v2 - second Vector of the split (arg OUT)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||