Class DiagramNode
- java.lang.Object
-
- org.camunda.bpm.engine.repository.DiagramElement
-
- org.camunda.bpm.engine.repository.DiagramNode
-
- All Implemented Interfaces:
java.io.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(java.lang.String id)
DiagramNode(java.lang.String id, java.lang.Double x, java.lang.Double y, java.lang.Double width, java.lang.Double height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getHeight()
java.lang.Double
getWidth()
java.lang.Double
getX()
java.lang.Double
getY()
boolean
isEdge()
boolean
isNode()
void
setHeight(java.lang.Double height)
void
setWidth(java.lang.Double width)
void
setX(java.lang.Double x)
void
setY(java.lang.Double y)
java.lang.String
toString()
-
Methods inherited from class org.camunda.bpm.engine.repository.DiagramElement
getId, setId
-
-
-
-
Method Detail
-
getX
public java.lang.Double getX()
-
setX
public void setX(java.lang.Double x)
-
getY
public java.lang.Double getY()
-
setY
public void setY(java.lang.Double y)
-
getWidth
public java.lang.Double getWidth()
-
setWidth
public void setWidth(java.lang.Double width)
-
getHeight
public java.lang.Double getHeight()
-
setHeight
public void setHeight(java.lang.Double height)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDiagramElement
-
isNode
public boolean isNode()
- Specified by:
isNode
in classDiagramElement
-
isEdge
public boolean isEdge()
- Specified by:
isEdge
in classDiagramElement
-
-