| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.layout.hierarchical.model.mxGraphAbstractHierarchyCell
public abstract class mxGraphAbstractHierarchyCell
An abstraction of an internal hierarchy node or edge
| Field Summary | |
|---|---|
|  double | heightThe height of this cell | 
|  int | maxRankThe maximum rank this cell occupies | 
|  int | minRankThe minimum rank this cell occupies | 
| protected  List<mxGraphAbstractHierarchyCell>[] | nextLayerConnectedCellsA cached version of the cells this cell connects to on the next layer up | 
| protected  List<mxGraphAbstractHierarchyCell>[] | previousLayerConnectedCellsA cached version of the cells this cell connects to on the next layer down | 
|  int[] | tempTemporary variable for general use. | 
|  double | widthThe width of this cell | 
|  double[] | xThe x position of this cell for each layer it occupies | 
|  double[] | yThe y position of this cell for each layer it occupies | 
| Constructor Summary | |
|---|---|
| mxGraphAbstractHierarchyCell() | |
| Method Summary | |
|---|---|
| abstract  int | getGeneralPurposeVariable(int layer)Gets the value of temp for the specified layer | 
| abstract  List<mxGraphAbstractHierarchyCell> | getNextLayerConnectedCells(int layer)Returns the cells this cell connects to on the next layer up | 
| abstract  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 | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public int maxRank
public int minRank
public double[] x
public double[] y
public double width
public double height
protected List<mxGraphAbstractHierarchyCell>[] nextLayerConnectedCells
protected List<mxGraphAbstractHierarchyCell>[] previousLayerConnectedCells
public int[] temp
| Constructor Detail | 
|---|
public mxGraphAbstractHierarchyCell()
| Method Detail | 
|---|
public abstract List<mxGraphAbstractHierarchyCell> getNextLayerConnectedCells(int layer)
layer - the layer this cell is on
public abstract List<mxGraphAbstractHierarchyCell> getPreviousLayerConnectedCells(int layer)
layer - the layer this cell is on
public abstract boolean isEdge()
public abstract boolean isVertex()
public abstract int getGeneralPurposeVariable(int layer)
layer - the layer relating to a specific entry into temp
public abstract void setGeneralPurposeVariable(int layer,
                                               int value)
layer - the layer relating to a specific entry into tempvalue - the value for that layer
public 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 for
public void setY(int layer,
                 double value)
layer - the layer relating to a specific entry into y[]value - the y value for that layer| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||