public class VPool extends VNamedNode
Modifier and Type | Field and Description |
---|---|
protected static java.util.Comparator<java.lang.Object> |
LANE_COMPARATOR
Comparator ensuring correct y-ordering of lanes.
|
protected com.mxgraph.model.mxGeometry |
previousgeometry
Previous geometry since the last set.
|
bpmnelement, graph
Constructor and Description |
---|
VPool(com.mxgraph.view.mxGraph graph)
Creates a new pool.
|
Modifier and Type | Method and Description |
---|---|
com.mxgraph.model.mxGeometry |
getPreviousGeometry()
Returns the previous geometry.
|
boolean |
hasLanes()
Tests if a pool contains lanes.
|
com.mxgraph.model.mxICell |
insert(com.mxgraph.model.mxICell child)
Override to ensure correct y-ordering of lanes.
|
com.mxgraph.model.mxICell |
insert(com.mxgraph.model.mxICell child,
int index)
Override to ensure correct y-ordering of lanes.
|
void |
setGeometry(com.mxgraph.model.mxGeometry geometry)
Sets a new geometry, preserving the previous.
|
getValue, setBpmnElement, setValue
getBpmnElement, getGraph, setVisualParent
clone, cloneValue, getAttribute, getAttribute, getChildAt, getChildCount, getEdgeAt, getEdgeCount, getEdgeIndex, getGeometry, getId, getIndex, getParent, getSource, getStyle, getTarget, getTerminal, insertEdge, isCollapsed, isConnectable, isEdge, isVertex, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setEdge, setId, setParent, setSource, setStyle, setTarget, setTerminal, setVertex, setVisible
protected static final java.util.Comparator<java.lang.Object> LANE_COMPARATOR
protected com.mxgraph.model.mxGeometry previousgeometry
public VPool(com.mxgraph.view.mxGraph graph)
graph
- The graph where this element is used.public void setGeometry(com.mxgraph.model.mxGeometry geometry)
setGeometry
in interface com.mxgraph.model.mxICell
setGeometry
in class com.mxgraph.model.mxCell
public com.mxgraph.model.mxGeometry getPreviousGeometry()
public boolean hasLanes()
public com.mxgraph.model.mxICell insert(com.mxgraph.model.mxICell child)
insert
in interface com.mxgraph.model.mxICell
insert
in class com.mxgraph.model.mxCell
public com.mxgraph.model.mxICell insert(com.mxgraph.model.mxICell child, int index)
insert
in interface com.mxgraph.model.mxICell
insert
in class com.mxgraph.model.mxCell