|
mxGraph 2.5.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.layout.hierarchical.model.mxGraphAbstractHierarchyCell com.mxgraph.layout.hierarchical.model.mxGraphHierarchyEdge
public class mxGraphHierarchyEdge
An abstraction of a hierarchical edge for the hierarchy layout
Field Summary | |
---|---|
List<Object> |
edges
The graph edge(s) this object represents. |
protected boolean |
isReversed
Whether or not the direction of this edge has been reversed internally to create a DAG for the hierarchical layout |
mxGraphHierarchyNode |
source
The node this edge is sourced at |
mxGraphHierarchyNode |
target
The node this edge targets |
Fields inherited from class com.mxgraph.layout.hierarchical.model.mxGraphAbstractHierarchyCell |
---|
height, maxRank, minRank, nextLayerConnectedCells, previousLayerConnectedCells, temp, width, x, y |
Constructor Summary | |
---|---|
mxGraphHierarchyEdge(List<Object> edges)
Constructs a hierarchy edge |
Method Summary | |
---|---|
int |
getGeneralPurposeVariable(int layer)
Gets the value of temp for the specified layer |
List<mxGraphAbstractHierarchyCell> |
getNextLayerConnectedCells(int layer)
Returns the cells this cell connects to on the next layer up |
List<mxGraphAbstractHierarchyCell> |
getPreviousLayerConnectedCells(int layer)
Returns the cells this cell connects to on the next layer down |
void |
invert()
Inverts the direction of this internal edge(s) |
boolean |
isEdge()
|
boolean |
isReversed()
|
boolean |
isVertex()
|
void |
setGeneralPurposeVariable(int layer,
int value)
Set the value of temp for the specified layer |
void |
setReversed(boolean isReversed)
|
Methods inherited from class com.mxgraph.layout.hierarchical.model.mxGraphAbstractHierarchyCell |
---|
getX, setX, setY |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public List<Object> edges
public mxGraphHierarchyNode source
public mxGraphHierarchyNode target
protected boolean isReversed
Constructor Detail |
---|
public mxGraphHierarchyEdge(List<Object> edges)
edges
- a list of real graph edges this abstraction representsMethod Detail |
---|
public void invert()
public boolean isReversed()
public void setReversed(boolean isReversed)
isReversed
- The isReversed to set.public List<mxGraphAbstractHierarchyCell> getNextLayerConnectedCells(int layer)
getNextLayerConnectedCells
in class mxGraphAbstractHierarchyCell
layer
- the layer this cell is on
public List<mxGraphAbstractHierarchyCell> getPreviousLayerConnectedCells(int layer)
getPreviousLayerConnectedCells
in class mxGraphAbstractHierarchyCell
layer
- the layer this cell is on
public boolean isEdge()
isEdge
in class mxGraphAbstractHierarchyCell
public boolean isVertex()
isVertex
in class mxGraphAbstractHierarchyCell
public int getGeneralPurposeVariable(int layer)
getGeneralPurposeVariable
in class mxGraphAbstractHierarchyCell
layer
- the layer relating to a specific entry into temp
public void setGeneralPurposeVariable(int layer, int value)
setGeneralPurposeVariable
in class mxGraphAbstractHierarchyCell
layer
- the layer relating to a specific entry into tempvalue
- the value for that layer
|
mxGraph 2.5.0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |