CellArea
Overview
CellArea is a class in Aspose.Cells FOSS for Java.
Represents a cell area with row and column bounds.
This class provides 8 methods for working with CellArea objects in Java programs.
Available methods include: CellArea, createCellArea, equals, getFirstColumn, getFirstRow, getTotalColumns, getTotalRows, hashCode.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: firstColumn, firstRow, totalColumns, totalRows.
Description
CellArea is a class in the Aspose.Cells FOSS library for Java that exposes 8 methods and 4 properties for programmatic use.
The class also provides the firstRow property (returns the first row), the firstColumn property (returns the first column), the totalRows property (returns the total rows).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
firstRow | int | Read | Returns the first row. |
firstColumn | int | Read | Returns the first column. |
totalRows | int | Read | Returns the total rows. |
totalColumns | int | Read | Returns the total columns. |
Methods
| Signature | Description |
|---|---|
CellArea(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int) | Creates a new CellArea with the specified bounds. |
getFirstRow() → int | Returns the first row. |
getFirstColumn() → int | Returns the first column. |
getTotalRows() → int | Returns the total rows. |
getTotalColumns() → int | Returns the total columns. |
createCellArea(startRow: int, startColumn: int, endRow: int, endColumn: int) → CellArea | Creates a CellArea from start and end cell coordinates. |
equals(obj: Object) → boolean | |
hashCode() → int | |
createCellArea(startCellName: String, endCellName: String) → CellArea | Creates a CellArea from start and end cell names (e.g., “A1”, “B2”). |