|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LayoutConverter
A LayoutConverter can be used the rendering mechanisms to retrieve and adapt the layout of a Graph, as stored in its layout attributes, while abstracting from the specific GraphLayoutManager used (which determines what kind of layout attributes are used).
| Method Summary | |
|---|---|
void |
getLocation(Vertex vertex,
Point location)
Copies the layout position of the specified Vertex into the specified Point. |
void |
setLocation(Vertex vertex,
int x,
int y)
Sets the layout position of the specified Vertex to the coordinates of the specified Point. |
void |
translate(Vertex vertex,
int dx,
int dy)
Translates the layout position of the specified Vertex over the specified distance. |
| Method Detail |
|---|
void getLocation(Vertex vertex,
Point location)
void setLocation(Vertex vertex,
int x,
int y)
void translate(Vertex vertex,
int dx,
int dy)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||