Package jadex.gpmn.editor.model.visual
Class VNode
- java.lang.Object
-
- com.mxgraph.model.mxCell
-
- jadex.gpmn.editor.model.visual.VElement
-
- jadex.gpmn.editor.model.visual.VNode
-
- All Implemented Interfaces:
com.mxgraph.model.mxICell
,java.io.Serializable
,java.lang.Cloneable
public abstract class VNode extends VElement
Visual representation of a node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VNode(java.lang.Object value, com.mxgraph.model.mxGeometry geometry, java.lang.String style)
Creates a new visual representation of a node.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description IElement
getElement()
Returns the business model element.abstract INode
getNode()
Returns the business model node.double
getX()
Gets the x.double
getY()
Gets the y.void
setX(double x)
Sets the x.void
setY(double y)
Sets the y.-
Methods inherited from class jadex.gpmn.editor.model.visual.VElement
isFoldable
-
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
-
-
-
-
Method Detail
-
getX
public double getX()
Gets the x.- Returns:
- The x.
-
setX
public void setX(double x)
Sets the x.- Parameters:
x
- The x.
-
getY
public double getY()
Gets the y.- Returns:
- The y.
-
setY
public void setY(double y)
Sets the y.- Parameters:
y
- The y.
-
getElement
public IElement getElement()
Returns the business model element.- Specified by:
getElement
in classVElement
- Returns:
- The business model element.
-
getNode
public abstract INode getNode()
Returns the business model node.- Returns:
- The node.
-
-