com.jgraph.layout.graph
public class JGraphSimpleLayout extends Object implements JGraphLayout
Field Summary | |
---|---|
protected int | maxx |
protected int | maxy |
protected int | type |
static int | TYPE_CIRCLE |
static int | TYPE_RANDOM |
static int | TYPE_TILT |
Constructor Summary | |
---|---|
JGraphSimpleLayout(int type) | |
JGraphSimpleLayout(int type, int maxx, int maxy) |
Method Summary | |
---|---|
int | getMaxx() |
int | getMaxy() |
void | run(JGraphFacade graph) |
void | setMaxx(int maxx) |
void | setMaxy(int maxy) |
String | toString()
Returns a name for this algorithm based on the type. |
Returns: Returns the maxx.
Returns: Returns the maxy.
Parameters: maxx The maxx to set.
Parameters: maxy The maxy to set.
Circle
,Tilt
or Random
.
Unknown
is returned for all unimplemented types.