protected class mxCompactTreeLayout.WeightedCellSorter extends Object implements Comparable<Object>
Modifier and Type | Field and Description |
---|---|
mxCompactTreeLayout.TreeNode |
cell
The cell whose median value is being calculated
|
boolean |
nudge
Whether or not to flip equal weight values.
|
boolean |
visited
Whether or not this cell has been visited in the current assignment
|
int |
weightedValue
The weighted value of the cell stored
|
Constructor and Description |
---|
mxCompactTreeLayout.WeightedCellSorter() |
mxCompactTreeLayout.WeightedCellSorter(mxCompactTreeLayout.TreeNode cell,
int weightedValue) |
public int weightedValue
public boolean nudge
public boolean visited
public mxCompactTreeLayout.TreeNode cell
public mxCompactTreeLayout.WeightedCellSorter()
public mxCompactTreeLayout.WeightedCellSorter(mxCompactTreeLayout.TreeNode cell, int weightedValue)
public int compareTo(Object arg0)
compareTo
in interface Comparable<Object>
arg0
- the object to be compared toCopyright (c) 2010 Gaudenz Alder, David Benson. All rights reserved.