NextApp Echo3
v3.0.b4

nextapp.echo.app.layout
Class GridLayoutData

java.lang.Object
  extended by nextapp.echo.app.layout.CellLayoutData
      extended by nextapp.echo.app.layout.GridLayoutData
All Implemented Interfaces:
java.io.Serializable, LayoutData

public class GridLayoutData
extends CellLayoutData

A LayoutData object used to describe how a Component is rendered within a Grid.

See Also:
Serialized Form

Field Summary
static int SPAN_FILL
          A constant value for column and row spans indicating that a cell should fill all remaining cells.
 
Constructor Summary
GridLayoutData()
           
 
Method Summary
 int getColumnSpan()
          Returns the column span of the cell.
 int getRowSpan()
          Returns the row span of the cell.
 void setColumnSpan(int newValue)
          Sets the column span of the cell.
 void setRowSpan(int newValue)
          Sets the row span of the cell.
 
Methods inherited from class nextapp.echo.app.layout.CellLayoutData
getAlignment, getBackground, getBackgroundImage, getInsets, setAlignment, setBackground, setBackgroundImage, setInsets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPAN_FILL

public static final int SPAN_FILL
A constant value for column and row spans indicating that a cell should fill all remaining cells.

WARNING: This value may ONLY be used for spans in the direction of the layout of the Grid, i.e., it may only be used for column-spans if the orientation is horizontal, and it may only be used for row-spans if the orientation is vertical.

See Also:
Constant Field Values
Constructor Detail

GridLayoutData

public GridLayoutData()
Method Detail

getColumnSpan

public int getColumnSpan()
Returns the column span of the cell.

Returns:
the column span

getRowSpan

public int getRowSpan()
Returns the row span of the cell.

Returns:
the row span

setColumnSpan

public void setColumnSpan(int newValue)
Sets the column span of the cell.

Parameters:
newValue - the new column span

setRowSpan

public void setRowSpan(int newValue)
Sets the row span of the cell.

Parameters:
newValue - the new row span

NextApp Echo3
v3.0.b4