java.lang.Comparable<java.lang.Object>
protected class mxCompactTreeLayout.WeightedCellSorter
extends java.lang.Object
implements java.lang.Comparable<java.lang.Object>
Modifier and Type | Field | 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 | Description |
---|---|
WeightedCellSorter() |
|
WeightedCellSorter(mxCompactTreeLayout.TreeNode cell,
int weightedValue) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(java.lang.Object arg0) |
comparator on the medianValue
|
public int weightedValue
public boolean nudge
public boolean visited
public mxCompactTreeLayout.TreeNode cell
public WeightedCellSorter()
public WeightedCellSorter(mxCompactTreeLayout.TreeNode cell, int weightedValue)
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.