Package org.jxls.common
Class CellRef
java.lang.Object
org.jxls.common.CellRef
- All Implemented Interfaces:
Comparable<CellRef>
Represents cell reference
- Author:
- Leonid Vysochyn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintgetCol()intgetRow()inthashCode()booleanisColAbs()booleanbooleanisRowAbs()booleanisValid()setCol(int col) setIgnoreSheetNameInFormat(boolean ignoreSheetNameInFormat) setIsColAbs(boolean isColAbs) setIsRowAbs(boolean isRowAbs) setRow(int row) setSheetName(String sheetName) toString()toString(boolean ignoreSheetName)
-
Constructor Details
-
CellRef
-
CellRef
public CellRef(int row, int col) -
CellRef
Copy constructor- Parameters:
ref- -
-
CellRef
-
-
Method Details
-
getCellName
-
getFormattedSheetName
-
getSheetName
-
setSheetName
-
isIgnoreSheetNameInFormat
public boolean isIgnoreSheetNameInFormat() -
setIgnoreSheetNameInFormat
-
getCol
public int getCol() -
setCol
-
getRow
public int getRow() -
setRow
-
isColAbs
public boolean isColAbs() -
setIsColAbs
-
isRowAbs
public boolean isRowAbs() -
setIsRowAbs
-
equals
-
hashCode
public int hashCode() -
toString
-
isValid
public boolean isValid() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<CellRef>
-