com.panayotis.gnuplot.layout
Class GridGraphLayout

java.lang.Object
  extended by com.panayotis.gnuplot.layout.GridGraphLayout
All Implemented Interfaces:
GraphLayout, java.io.Serializable

Deprecated.

public class GridGraphLayout
extends java.lang.Object
implements GraphLayout, java.io.Serializable

Align graphs evenly on the page, in a grid layout

If you manually set metrics and use this, these metrics will be lost. Do not use this layout, use AutoGraphLayout instead.

See Also:
Serialized Form

Nested Class Summary
static class GridGraphLayout.Start
          Deprecated. Where the first graph will be put
 
Field Summary
static boolean HORIZONTAL
          Deprecated. Orientation of the graph layout
static boolean VERTICAL
          Deprecated. Orientation of the graph layout
 
Constructor Summary
GridGraphLayout()
          Deprecated. Create a new grid layout
 
Method Summary
 void setDefinition(Page page, java.lang.StringBuffer 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HORIZONTAL

public static final boolean HORIZONTAL
Deprecated. 
Orientation of the graph layout

See Also:
Constant Field Values

VERTICAL

public static final boolean VERTICAL
Deprecated. 
Orientation of the graph layout

See Also:
Constant Field Values
Constructor Detail

GridGraphLayout

public GridGraphLayout()
Deprecated. 
Create a new grid layout

Method Detail

setStartPosition

public void setStartPosition(GridGraphLayout.Start start)
Deprecated. 
Set where the first graph will be put

Parameters:
start - Position of the first graph

setOrientation

public void setOrientation(boolean orientation)
Deprecated. 
Sey the orientation of the graphs, as being put

Parameters:
orientation - Selected orientation

setDefinition

public void setDefinition(Page page,
                          java.lang.StringBuffer buffer)
Deprecated. 
Update the capacity of this layout. This manager tries to create grid, as much square as possible

Specified by:
setDefinition in interface GraphLayout
Parameters:
page - The page with the elements we would like to position
buffer - Where to send commands - not used.