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 Double
getHeight()
Double
getWidth()
Double
getX()
Double
getY()
boolean
isEdge()
boolean
isNode()
void
setHeight(Double height)
void
setWidth(Double width)
void
setX(Double x)
void
setY(Double y)
String
toString()
-
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:
toString
in classDiagramElement
-
isNode
public boolean isNode()
- Specified by:
isNode
in classDiagramElement
-
isEdge
public boolean isEdge()
- Specified by:
isEdge
in classDiagramElement
-
-