public interface GraphGridLayoutManager extends GraphLayoutManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDrawgrid()
Determines if the grid is to be drawn.
|
Grid |
getGrid()
Returns the grid object where the visual vertices are laid out.
|
Point |
getStartAt()
Returns the starting position where the grid will be drawn.
|
int |
getXGridDistance()
Returns the distance between horizontal grid lines.
|
int |
getYGridDistance()
Returns the distance between vertical grid lines.
|
void |
setDrawGrid(boolean isdrawgrid)
This method sets or unsets the drawing of the grid
|
void |
setStartAt(Point startat)
This method sets the point at which the grid starts.
|
void |
setXGridDistance(int xgriddistance)
This method sets the distance between vertical grids
|
void |
setYGridDistance(int ygriddistance)
This method sets the distance between horizontal grids
|
addEdge, addVertex, drawLayout, isInitialized, layout, removeEdge, removeVertex, routeEdgevoid setStartAt(Point startat)
startat - Point object indicating the upper left corner of the grid.void setXGridDistance(int xgriddistance)
xgriddistance - Distance between vertical gridsvoid setYGridDistance(int ygriddistance)
xgriddistance - Distance between horizontal gridsvoid setDrawGrid(boolean isdrawgrid)
isdrawgrid - Boolean: If true, the grid will be drawn on the next
paint operation. Otherwise, the grid will not be drawn.Grid getGrid()
Point getStartAt()
int getXGridDistance()
int getYGridDistance()
boolean getDrawgrid()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.