Package jadex.bpmn.editor.model.visual
Class VElement
- java.lang.Object
-
- com.mxgraph.model.mxCell
-
- jadex.bpmn.editor.model.visual.VElement
-
- All Implemented Interfaces:
com.mxgraph.model.mxICell,java.io.Serializable,java.lang.Cloneable
public abstract class VElement extends com.mxgraph.model.mxCellGeneric Visual BPMN Element.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MIdElementbpmnelementAssociated BPMN elementprotected com.mxgraph.view.mxGraphgraphThe graph where this element is used.
-
Constructor Summary
Constructors Constructor Description VElement(com.mxgraph.view.mxGraph graph, java.lang.String style)Creates a new element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MIdElementgetBpmnElement()Gets the BPMN element.com.mxgraph.view.mxGraphgetGraph()Returns the graph.voidsetBpmnElement(MIdElement bpmnelement)Sets the BPMN element.voidsetVisualParent(com.mxgraph.model.mxICell parent)Sets the visual parent without side effects.-
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, getValue, insert, insert, insertEdge, isCollapsed, isConnectable, isEdge, isVertex, isVisible, remove, remove, removeEdge, removeFromParent, removeFromTerminal, setAttribute, setCollapsed, setConnectable, setEdge, setGeometry, setId, setParent, setSource, setStyle, setTarget, setTerminal, setValue, setVertex, setVisible
-
-
-
-
Field Detail
-
graph
protected com.mxgraph.view.mxGraph graph
The graph where this element is used.
-
bpmnelement
protected MIdElement bpmnelement
Associated BPMN element
-
-
Method Detail
-
getGraph
public com.mxgraph.view.mxGraph getGraph()
Returns the graph.- Returns:
- The graph.
-
getBpmnElement
public MIdElement getBpmnElement()
Gets the BPMN element.- Returns:
- The BPMN element.
-
setBpmnElement
public void setBpmnElement(MIdElement bpmnelement)
Sets the BPMN element.- Parameters:
bpmnelement- The BPMN element.
-
setVisualParent
public void setVisualParent(com.mxgraph.model.mxICell parent)
Sets the visual parent without side effects.
-
-