public abstract class mxGraphAbstractHierarchyCell
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
height
The height of this cell
|
int |
maxRank
The maximum rank this cell occupies
|
int |
minRank
The minimum rank this cell occupies
|
protected java.util.List<mxGraphAbstractHierarchyCell>[] |
nextLayerConnectedCells
A cached version of the cells this cell connects to on the next layer up
|
protected java.util.List<mxGraphAbstractHierarchyCell>[] |
previousLayerConnectedCells
A cached version of the cells this cell connects to on the next layer down
|
int[] |
temp
Temporary variable for general use.
|
double |
width
The width of this cell
|
double[] |
x
The x position of this cell for each layer it occupies
|
double[] |
y
The y position of this cell for each layer it occupies
|
Constructor and Description |
---|
mxGraphAbstractHierarchyCell() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getGeneralPurposeVariable(int layer)
Gets the value of temp for the specified layer
|
abstract java.util.List<mxGraphAbstractHierarchyCell> |
getNextLayerConnectedCells(int layer)
Returns the cells this cell connects to on the next layer up
|
abstract java.util.List<mxGraphAbstractHierarchyCell> |
getPreviousLayerConnectedCells(int layer)
Returns the cells this cell connects to on the next layer down
|
double |
getX(int layer)
Gets the value of x on the specified layer
|
abstract boolean |
isEdge() |
abstract boolean |
isVertex() |
abstract void |
setGeneralPurposeVariable(int layer,
int value)
Set the value of temp for the specified layer
|
void |
setX(int layer,
double value)
Set the value of x for the specified layer
|
void |
setY(int layer,
double value)
Set the value of y for the specified layer
|
public int maxRank
public int minRank
public double[] x
public double[] y
public double width
public double height
protected java.util.List<mxGraphAbstractHierarchyCell>[] nextLayerConnectedCells
protected java.util.List<mxGraphAbstractHierarchyCell>[] previousLayerConnectedCells
public int[] temp
public abstract java.util.List<mxGraphAbstractHierarchyCell> getNextLayerConnectedCells(int layer)
layer
- the layer this cell is onpublic abstract java.util.List<mxGraphAbstractHierarchyCell> getPreviousLayerConnectedCells(int layer)
layer
- the layer this cell is onpublic abstract boolean isEdge()
public abstract boolean isVertex()
public abstract int getGeneralPurposeVariable(int layer)
layer
- the layer relating to a specific entry into temppublic abstract void setGeneralPurposeVariable(int layer, int value)
layer
- the layer relating to a specific entry into tempvalue
- the value for that layerpublic void setX(int layer, double value)
layer
- the layer relating to a specific entry into x[]value
- the x value for that layerpublic double getX(int layer)
layer
- the layer to obtain x forpublic void setY(int layer, double value)
layer
- the layer relating to a specific entry into y[]value
- the y value for that layerCopyright (c) 2010-2017 Gaudenz Alder, JGraph Ltd. All rights reserved.