java.lang.Comparable<java.lang.Object>
protected class mxCoordinateAssignment.WeightedCellSorter
extends java.lang.Object
implements java.lang.Comparable<java.lang.Object>
Modifier and Type | Field | Description |
---|---|---|
mxGraphAbstractHierarchyCell |
cell |
The cell whose median value is being calculated
|
boolean |
nudge |
Whether or not to flip equal weight values.
|
int |
rankIndex |
The index this cell is in the model rank
|
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(mxGraphAbstractHierarchyCell 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 int rankIndex
public mxGraphAbstractHierarchyCell cell
public WeightedCellSorter()
public WeightedCellSorter(mxGraphAbstractHierarchyCell cell, int weightedValue)
Copyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.