public interface GraphElement extends GraphGeometry
| Modifier and Type | Method and Description |
|---|---|
GraphPort |
addPort(int x,
int y) |
boolean |
contains(int mx,
int my) |
GraphPort |
createPort(int x,
int y) |
Rectangle |
getBounds() |
String |
getLineColor() |
String |
getLineStroke() |
GraphPort[] |
getPorts() |
String |
getText() |
String |
getUuid() |
boolean |
isHover() |
boolean |
isSelected() |
void |
move(int dx,
int dy,
Graph graph) |
void |
movePort(int dx,
int dy,
GraphPort port,
Graph graph) |
void |
setHover(boolean over) |
void |
setLineColor(String color) |
void |
setLineStroke(String value) |
void |
setSelected(boolean selected) |
void |
setText(String text) |
distanceToGraphPort createPort(int x, int y)
GraphPort addPort(int x, int y)
Rectangle getBounds()
GraphPort[] getPorts()
boolean contains(int mx,
int my)
void move(int dx,
int dy,
Graph graph)
String getUuid()
String getLineStroke()
String getLineColor()
void setLineStroke(String value)
void setLineColor(String color)
String getText()
void setText(String text)
boolean isSelected()
void setSelected(boolean selected)
boolean isHover()
void setHover(boolean over)
Copyright © 2021 vpc open source initiative. All rights reserved.