NextApp Echo
App Container 1.0.5

nextapp.echoservlet.ui
Class GridRenderingModel.OriginCell

java.lang.Object
  extended bynextapp.echoservlet.ui.GridRenderingModel.OriginCell
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
GridRenderingModel

private static final class GridRenderingModel.OriginCell
extends java.lang.Object
implements java.io.Serializable

An object used to describe the origin of (top-left coordinate) of a grid cell.


Field Summary
private  nextapp.echo.Grid.Cell cell
           
private  int columnSpan
           
private  GridRenderingModel.PointerCell pointerCell
           
private  int rowSpan
           
 
Constructor Summary
GridRenderingModel.OriginCell(nextapp.echo.Grid.Cell cell)
          Creates a new OriginCell to represent a Grid.Cell during rendering.
 
Method Summary
 nextapp.echo.Grid.Cell getCell()
          Returns the Grid.Cell object that this OriginCell is representing during rendering.
 int getColumnSpan()
          Returns the number of columns spanned by the cell.
 GridRenderingModel.PointerCell getPointerCell()
          Returns the PointerCell that will be used in the cellArray grid to indicate which coordinates are occupied by this occupied by this cells row- and column-spanning.
 int getRowSpan()
          Returns the number of rows spanned by the cell.
 void setColumnSpan(int columnSpan)
          Sets the number of columns spanned by the cell.
 void setRowSpan(int rowSpan)
          Sets the number of rows spanned by the cell.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cell

private nextapp.echo.Grid.Cell cell

columnSpan

private int columnSpan

rowSpan

private int rowSpan

pointerCell

private GridRenderingModel.PointerCell pointerCell
Constructor Detail

GridRenderingModel.OriginCell

public GridRenderingModel.OriginCell(nextapp.echo.Grid.Cell cell)
Creates a new OriginCell to represent a Grid.Cell during rendering.

Method Detail

getCell

public nextapp.echo.Grid.Cell getCell()
Returns the Grid.Cell object that this OriginCell is representing during rendering.

Returns:
The represented Grid.Cell.

getColumnSpan

public int getColumnSpan()
Returns the number of columns spanned by the cell.

Returns:
The number of columns spanned by the cell.

getPointerCell

public GridRenderingModel.PointerCell getPointerCell()
Returns the PointerCell that will be used in the cellArray grid to indicate which coordinates are occupied by this occupied by this cells row- and column-spanning.

Returns:
The PointerCell for this cell.

getRowSpan

public int getRowSpan()
Returns the number of rows spanned by the cell.

Returns:
The number of rows spanned by the cell.

setColumnSpan

public void setColumnSpan(int columnSpan)
Sets the number of columns spanned by the cell.

Parameters:
columnSpan - The number of columns spanned by the cell.

setRowSpan

public void setRowSpan(int rowSpan)
Sets the number of rows spanned by the cell.

Parameters:
rowSpan - The number of rows spanned by the cell.

NextApp Echo
App Container 1.0.5