public class DiagramNode extends DiagramElement
id
Constructor and Description |
---|
DiagramNode() |
DiagramNode(String id) |
DiagramNode(String id,
Double x,
Double y,
Double width,
Double height) |
Modifier and Type | Method and 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() |
getId, setId
public DiagramNode()
public DiagramNode(String id)
public Double getX()
public void setX(Double x)
public Double getY()
public void setY(Double y)
public Double getWidth()
public void setWidth(Double width)
public Double getHeight()
public void setHeight(Double height)
public String toString()
toString
in class DiagramElement
public boolean isNode()
isNode
in class DiagramElement
public boolean isEdge()
isEdge
in class DiagramElement
Copyright © 2019. All rights reserved.