Package jadex.bpmn.editor.model.visual
Class VPool
- java.lang.Object
-
- com.mxgraph.model.mxCell
-
- jadex.bpmn.editor.model.visual.VElement
-
- jadex.bpmn.editor.model.visual.VNode
-
- jadex.bpmn.editor.model.visual.VNamedNode
-
- jadex.bpmn.editor.model.visual.VPool
-
- All Implemented Interfaces:
com.mxgraph.model.mxICell
,java.io.Serializable
,java.lang.Cloneable
public class VPool extends VNamedNode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field 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.-
Fields inherited from class jadex.bpmn.editor.model.visual.VElement
bpmnelement, graph
-
-
Constructor Summary
Constructors Constructor Description VPool(com.mxgraph.view.mxGraph graph)
Creates a new pool.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class jadex.bpmn.editor.model.visual.VNamedNode
getValue, setBpmnElement, setValue
-
Methods inherited from class jadex.bpmn.editor.model.visual.VElement
getBpmnElement, getGraph, setVisualParent
-
Methods inherited from class com.mxgraph.model.mxCell
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
-
-
-
-
Method Detail
-
setGeometry
public void setGeometry(com.mxgraph.model.mxGeometry geometry)
Sets a new geometry, preserving the previous.- Specified by:
setGeometry
in interfacecom.mxgraph.model.mxICell
- Overrides:
setGeometry
in classcom.mxgraph.model.mxCell
-
getPreviousGeometry
public com.mxgraph.model.mxGeometry getPreviousGeometry()
Returns the previous geometry.- Returns:
- The previous geometry.
-
hasLanes
public boolean hasLanes()
Tests if a pool contains lanes.- Returns:
- True, if the pool contains lanes.
-
insert
public com.mxgraph.model.mxICell insert(com.mxgraph.model.mxICell child)
Override to ensure correct y-ordering of lanes.- Specified by:
insert
in interfacecom.mxgraph.model.mxICell
- Overrides:
insert
in classcom.mxgraph.model.mxCell
-
insert
public com.mxgraph.model.mxICell insert(com.mxgraph.model.mxICell child, int index)
Override to ensure correct y-ordering of lanes.- Specified by:
insert
in interfacecom.mxgraph.model.mxICell
- Overrides:
insert
in classcom.mxgraph.model.mxCell
-
-