Package org.apache.poi.ss.formula.ptg
Class RefPtgBase
java.lang.Object
org.apache.poi.ss.formula.ptg.Ptg
org.apache.poi.ss.formula.ptg.OperandPtg
org.apache.poi.ss.formula.ptg.RefPtgBase
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable
,GenericRecord
ReferencePtgBase - handles references (such as A1, A2, IA4)
-
Field Summary
Fields inherited from class org.apache.poi.ss.formula.ptg.Ptg
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
final byte
final int
getRow()
final boolean
final boolean
final void
setColRelative
(boolean rel) final void
setColumn
(int col) final void
setRow
(int rowIndex) final void
setRowRelative
(boolean rel) Methods inherited from class org.apache.poi.ss.formula.ptg.OperandPtg
copy, isBaseToken
Methods inherited from class org.apache.poi.ss.formula.ptg.Ptg
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, getSid, getSize, readTokens, serializePtgs, setClass, toFormulaString, toString, write
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Method Details
-
setRow
public final void setRow(int rowIndex) -
getRow
public final int getRow()- Returns:
- the row number as an int
-
isRowRelative
public final boolean isRowRelative() -
setRowRelative
public final void setRowRelative(boolean rel) -
isColRelative
public final boolean isColRelative() -
setColRelative
public final void setColRelative(boolean rel) -
setColumn
public final void setColumn(int col) -
getColumn
public final int getColumn() -
getDefaultOperandClass
public final byte getDefaultOperandClass()- Specified by:
getDefaultOperandClass
in classPtg
-
getGenericProperties
-