Top Methods
org.apache.poi.ss.util.cellwalk

public Interface CellWalkContext

Known Direct Implementers
org.apache.poi.ss.util.cellwalk.CellWalk.SimpleCellWalkContext

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

number of current column
getColumnNumber
()

Returns number of current column.

public long

Returns:

ordinal number of current cell
getOrdinalNumber
()

Returns ordinal number of cell in range.

public int

Returns:

number of current row
getRowNumber
()

Returns number of current row.

Method Detail

getColumnNumberback to summary
public int getColumnNumber()

Returns number of current column.

Returns:int

number of current column

getOrdinalNumberback to summary
public long getOrdinalNumber()

Returns ordinal number of cell in range. Numeration starts from top left cell and ends at bottom right cell. Here is a brief example (number in cell is its ordinal number):

ordinal number example
12
34
Returns:long

ordinal number of current cell

getRowNumberback to summary
public int getRowNumber()

Returns number of current row.

Returns:int

number of current row