|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.panayotis.gnuplot.layout.AutoGraphLayout
public class AutoGraphLayout
Align graphs evenly on the page, in a grid layout, based on
If you manually set metrics and use this, these metrics will be lost
| Field Summary | |
|---|---|
static boolean |
COLUMNSFIRST
Draw rows or columns first |
static boolean |
DOWNWARDS
Orientation of the graph layout |
static boolean |
ROWSFIRST
Draw rows or columns first |
static boolean |
UPWARDS
Orientation of the graph layout |
| Constructor Summary | |
|---|---|
AutoGraphLayout()
Create a new automatic grid layout. |
|
| Method Summary | |
|---|---|
void |
setColumns(int cols)
Manually set the number of columns. |
void |
setDefinition(Page page,
java.lang.StringBuffer buffer)
Update the capacity of this layout. |
void |
setDrawFirst(boolean drawfirst)
Set where the first graph will be put |
void |
setOrientation(boolean orientation)
Sey the orientation of the graphs, as being put |
void |
setRows(int rows)
Manually set the number of rows. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DOWNWARDS
public static final boolean UPWARDS
public static final boolean ROWSFIRST
public static final boolean COLUMNSFIRST
| Constructor Detail |
|---|
public AutoGraphLayout()
| Method Detail |
|---|
public void setDrawFirst(boolean drawfirst)
drawfirst - Position of the first graphROWSFIRST,
COLUMNSFIRSTpublic void setOrientation(boolean orientation)
orientation - Selected orientationDOWNWARDS,
UPWARDSpublic void setRows(int rows)
rows - Desired number of rows. Set it to -1 to be automatically computed.public void setColumns(int cols)
cols - Desired number of columns. Set it to -1 to be automatically computed.
public void setDefinition(Page page,
java.lang.StringBuffer buffer)
setDefinition in interface GraphLayoutpage - The page with the elements we would like to positionbuffer - Where to send commands, just after the "set multiplot" part.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||