public class GridGraphLayout extends java.lang.Object implements GraphLayout, java.io.Serializable
If you manually set metrics and use this, these metrics will be lost. Do not use this layout, use AutoGraphLayout instead.
Modifier and Type | Class and Description |
---|---|
static class |
GridGraphLayout.Start
Deprecated.
Where the first graph will be put
|
Modifier and Type | Field and Description |
---|---|
static boolean |
HORIZONTAL
Deprecated.
Orientation of the graph layout
|
static boolean |
VERTICAL
Deprecated.
Orientation of the graph layout
|
Constructor and Description |
---|
GridGraphLayout()
Deprecated.
Create a new grid layout
|
Modifier and Type | Method and Description |
---|---|
void |
setDefinition(Page page,
java.lang.StringBuilder buffer)
Deprecated.
Update the capacity of this layout.
|
void |
setOrientation(boolean orientation)
Deprecated.
Sey the orientation of the graphs, as being put
|
void |
setStartPosition(GridGraphLayout.Start start)
Deprecated.
Set where the first graph will be put
|
public static final boolean HORIZONTAL
public static final boolean VERTICAL
public void setStartPosition(GridGraphLayout.Start start)
start
- Position of the first graphpublic void setOrientation(boolean orientation)
orientation
- Selected orientationpublic void setDefinition(Page page, java.lang.StringBuilder buffer)
setDefinition
in interface GraphLayout
page
- The page with the elements we would like to positionbuffer
- Where to send commands - not used.