net.sf.jtreemap.swing
Class SplitByWeight
java.lang.Object
net.sf.jtreemap.swing.SplitStrategy
net.sf.jtreemap.swing.SplitByWeight
- All Implemented Interfaces:
- Serializable
public class SplitByWeight
- extends SplitStrategy
Strategy who split the elements in 2 groups of equivalent weight.
- Author:
- Laurent Dutheil
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplitByWeight
public SplitByWeight()
splitElements
public void splitElements(Vector<TreeMapNode> v,
Vector<TreeMapNode> v1,
Vector<TreeMapNode> v2)
- Description copied from class:
SplitStrategy
- split the elements of a JTreeMap.
- Specified by:
splitElements
in class SplitStrategy
- Parameters:
v
- Vector with the elements to split (arg IN)v1
- first Vector of the split (arg OUT)v2
- second Vector of the split (arg OUT)
Copyright © 2012. All Rights Reserved.