CellAddress

Overview

CellAddress is a class in Aspose.Cells FOSS for Java.

Represents a cell address with row and column indices.

This class provides 7 methods for working with CellAddress objects in Java programs. Available methods include: CellAddress, equals, getColumnIndex, getRowIndex, hashCode, parse, toString. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: columnIndex, rowIndex.

Description

CellAddress is a class in the Aspose.Cells FOSS library for Java that exposes 6 methods and 2 properties for programmatic use.

The class also provides the rowIndex property (gets the zero-based row index), the columnIndex property (gets the zero-based column index).

Instances are created through a single constructor that initializes the object with default values.

Properties

NameTypeAccessDescription
rowIndexintReadGets the zero-based row index.
columnIndexintReadGets the zero-based column index.

Methods

SignatureDescription
CellAddress(rowIndex: int, columnIndex: int)Creates a new CellAddress with the specified row and column indices.
getRowIndex()intGets the zero-based row index.
getColumnIndex()intGets the zero-based column index.
parse(cellReference: String)CellAddressParses a cell reference string (e.g., “A1”, “Z100”) into a CellAddress.
equals(obj: Object)booleanCompares this instance with the provided value.
hashCode()intIndicates whether this instance has h code.
toString()StringReturns the string representation of this instance.

See Also

 English