Class DiagramNode
- java.lang.Object
-
- org.camunda.bpm.engine.repository.DiagramElement
-
- org.camunda.bpm.engine.repository.DiagramNode
-
- All Implemented Interfaces:
Serializable
public class DiagramNode extends DiagramElement
Stores position and dimensions of a diagram node.- Author:
- Falko Menge
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.repository.DiagramElement
id
-
-
Constructor Summary
Constructors Constructor Description DiagramNode()DiagramNode(String id)DiagramNode(String id, Double x, Double y, Double width, Double height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetHeight()DoublegetWidth()DoublegetX()DoublegetY()booleanisEdge()booleanisNode()voidsetHeight(Double height)voidsetWidth(Double width)voidsetX(Double x)voidsetY(Double y)StringtoString()-
Methods inherited from class org.camunda.bpm.engine.repository.DiagramElement
getId, setId
-
-
-
-
Method Detail
-
getX
public Double getX()
-
setX
public void setX(Double x)
-
getY
public Double getY()
-
setY
public void setY(Double y)
-
getWidth
public Double getWidth()
-
setWidth
public void setWidth(Double width)
-
getHeight
public Double getHeight()
-
setHeight
public void setHeight(Double height)
-
toString
public String toString()
- Overrides:
toStringin classDiagramElement
-
isNode
public boolean isNode()
- Specified by:
isNodein classDiagramElement
-
isEdge
public boolean isEdge()
- Specified by:
isEdgein classDiagramElement
-
-