com.esri.adf.web.data.tasks
Class TabularPosition

java.lang.Object
  extended by com.esri.adf.web.data.tasks.Position
      extended by com.esri.adf.web.data.tasks.TabularPosition
All Implemented Interfaces:
Serializable

public class TabularPosition
extends Position

The position class to define each sub-component

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.esri.adf.web.data.tasks.Position
_style, _styleClass
 
Constructor Summary
TabularPosition(int row, int col, int rowspan, int colspan)
          Creates a postion class by row, column, row span and column span.
TabularPosition(int row, int col, int rowspan, int colspan, String style)
          Creates a postion class by row, column, row span, column span and style String
 
Method Summary
 int getColspan()
          Returns the column span
 int getColumn()
          Returns the column
 int getRow()
          Returns the row
 int getRowspan()
          Returns the row span
 void setColspan(int colspan)
          Sets the column span
 void setColumn(int col)
          Sets the column
 void setRow(int row)
          Sets the Row
 void setRowspan(int rowspan)
          Sets the row span
 
Methods inherited from class com.esri.adf.web.data.tasks.Position
getStyle, getStyleClass, setStyle, setStyleClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabularPosition

public TabularPosition(int row,
                       int col,
                       int rowspan,
                       int colspan)
Creates a postion class by row, column, row span and column span.

Parameters:
row - an integer
col - an integer
rowspan - integer
colspan - integer

TabularPosition

public TabularPosition(int row,
                       int col,
                       int rowspan,
                       int colspan,
                       String style)
Creates a postion class by row, column, row span, column span and style String

Parameters:
row - an integer
col - an integer
rowspan - integer
colspan - integer
Method Detail

setColumn

public void setColumn(int col)
Sets the column

Parameters:
col - column number

getColumn

public int getColumn()
Returns the column

Returns:
an integer

setRow

public void setRow(int row)
Sets the Row

Parameters:
row - integer

getRow

public int getRow()
Returns the row

Returns:
an integer

setRowspan

public void setRowspan(int rowspan)
Sets the row span

Parameters:
rowspan - - row span space

getRowspan

public int getRowspan()
Returns the row span

Returns:
an integer

setColspan

public void setColspan(int colspan)
Sets the column span

Parameters:
colspan - - column span

getColspan

public int getColspan()
Returns the column span

Returns:
the column span