org.apache.poi.hssf.util
Class HSSFCellRangeAddress.AddrStructure

java.lang.Object
  extended by org.apache.poi.hssf.util.HSSFCellRangeAddress.AddrStructure
Enclosing class:
HSSFCellRangeAddress

public class HSSFCellRangeAddress.AddrStructure
extends java.lang.Object


Constructor Summary
HSSFCellRangeAddress.AddrStructure(short first_row, short last_row, short first_col, short last_col)
           
 
Method Summary
 short getFirstColumn()
          get the upper left hand corner column number
 short getFirstRow()
          get the upper left hand corner row number
 short getLastColumn()
          get the lower right hand corner column number
 short getLastRow()
          get the lower right hand corner row number
 void setFirstColumn(short first_col)
          set the upper left hand corner column number
 void setFirstRow(short first_row)
          set the upper left hand corner row number
 void setLastColumn(short last_col)
          set the lower right hand corner column number
 void setLastRow(short last_row)
          get the lower right hand corner row number
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSSFCellRangeAddress.AddrStructure

public HSSFCellRangeAddress.AddrStructure(short first_row,
                                          short last_row,
                                          short first_col,
                                          short last_col)
Method Detail

getFirstColumn

public short getFirstColumn()
get the upper left hand corner column number

Returns:
column number for the upper left hand corner

getFirstRow

public short getFirstRow()
get the upper left hand corner row number

Returns:
row number for the upper left hand corner

getLastColumn

public short getLastColumn()
get the lower right hand corner column number

Returns:
column number for the lower right hand corner

getLastRow

public short getLastRow()
get the lower right hand corner row number

Returns:
row number for the lower right hand corner

setFirstColumn

public void setFirstColumn(short first_col)
set the upper left hand corner column number

Parameters:
this._first_col - column number for the upper left hand corner

setFirstRow

public void setFirstRow(short first_row)
set the upper left hand corner row number

Parameters:
rowFrom - row number for the upper left hand corner

setLastColumn

public void setLastColumn(short last_col)
set the lower right hand corner column number

Parameters:
colTo - column number for the lower right hand corner

setLastRow

public void setLastRow(short last_row)
get the lower right hand corner row number

Parameters:
rowTo - row number for the lower right hand corner


Copyright 2008 The Apache Software Foundation or its licensors, as applicable.