public final class WorksheetCell extends Object
| Constructor and Description |
|---|
WorksheetCell(int worksheetIndex,
int rowIndex,
int columnIndex,
int rowSpan,
int columnSpan,
String text)
Initializes a new instance of the
WorksheetCell class. |
WorksheetCell(int worksheetIndex,
int rowIndex,
int columnIndex,
String text)
Initializes a new instance of the
WorksheetCell class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnIndex()
Gets the column index.
|
int |
getColumnSpan()
Gets the total number of columns that contain the cell.
|
int |
getRowIndex()
Gets the row index.
|
int |
getRowSpan()
Gets the total number of rows that contain the cell.
|
String |
getText()
Gets the worksheet cell text value.
|
int |
getWorksheetIndex()
Gets the worksheet index.
|
public WorksheetCell(int worksheetIndex,
int rowIndex,
int columnIndex,
String text)
WorksheetCell class.worksheetIndex - The zero-based index of the worksheet.rowIndex - The zero-based index of the row.columnIndex - The zero-based index of the column.text - The worksheet cell text value.public WorksheetCell(int worksheetIndex,
int rowIndex,
int columnIndex,
int rowSpan,
int columnSpan,
String text)
WorksheetCell class.worksheetIndex - The zero-based index of the worksheet.rowIndex - The zero-based index of the row.columnIndex - The zero-based index of the column.rowSpan - The total number of rows that contain the cell.columnSpan - The total number of columns that contain the cell.text - The worksheet cell text value.public int getWorksheetIndex()
public int getRowIndex()
public int getColumnIndex()
public int getRowSpan()
public int getColumnSpan()
public String getText()
null if the cell doesn't contain a text value.Copyright © 2026. All rights reserved.