Modifier and Type | Field and Description |
---|---|
static short |
sid |
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, ptgClass
Modifier | Constructor and Description |
---|---|
protected |
AreaPtg() |
|
AreaPtg(RecordInputStream in) |
|
AreaPtg(short firstRow,
short lastRow,
short firstColumn,
short lastColumn,
boolean firstRowRelative,
boolean lastRowRelative,
boolean firstColRelative,
boolean lastColRelative) |
|
AreaPtg(String arearef) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
String |
getAreaPtgName() |
byte |
getDefaultOperandClass() |
short |
getFirstColumn() |
short |
getFirstColumnRaw() |
short |
getFirstRow() |
short |
getLastColumn() |
short |
getLastColumnRaw() |
short |
getLastRow() |
int |
getSize() |
boolean |
isFirstColRelative() |
boolean |
isFirstRowRelative() |
boolean |
isLastColRelative() |
boolean |
isLastRowRelative() |
void |
setFirstColRelative(boolean rel)
set whether the first column is relative
|
void |
setFirstColumn(short column)
set the first column in the area
|
void |
setFirstColumnRaw(short column)
set the first column irespective of the bitmasks
|
void |
setFirstRow(short row)
sets the first row
|
void |
setFirstRowRelative(boolean rel)
sets the first row to relative or not
|
void |
setLastColRelative(boolean rel)
set whether the last column should be relative or not
|
void |
setLastColumn(short column)
set the last column in the area
|
void |
setLastColumnRaw(short column)
set the last column irrespective of the bitmasks
|
void |
setLastRow(short row) |
void |
setLastRowRelative(boolean rel)
set whether the last row is relative or not
|
String |
toFormulaString(Workbook book)
return a string representation of this token alone
|
String |
toString()
Overridden toString method to ensure object hash is not printed.
|
void |
writeBytes(byte[] array,
int offset)
write this Ptg to a byte array
|
createParsedExpressionTokens, createPtg, getBytes, getPtgClass, serializePtgStack, setClass, toDebugString
public static final short sid
protected AreaPtg()
public AreaPtg(String arearef)
public AreaPtg(short firstRow, short lastRow, short firstColumn, short lastColumn, boolean firstRowRelative, boolean lastRowRelative, boolean firstColRelative, boolean lastColRelative)
public AreaPtg(RecordInputStream in)
public String getAreaPtgName()
public String toString()
Ptg
public void writeBytes(byte[] array, int offset)
Ptg
writeBytes
in class Ptg
public short getFirstRow()
public void setFirstRow(short row)
row
- number (0-based)public short getLastRow()
public void setLastRow(short row)
row
- last row number in the areapublic short getFirstColumn()
public short getFirstColumnRaw()
public boolean isFirstRowRelative()
public void setFirstRowRelative(boolean rel)
rel
- is relative or not.public boolean isFirstColRelative()
public void setFirstColRelative(boolean rel)
public void setFirstColumn(short column)
public void setFirstColumnRaw(short column)
public short getLastColumn()
public short getLastColumnRaw()
public boolean isLastRowRelative()
public void setLastRowRelative(boolean rel)
rel
- true
if the last row relative, else
false
public boolean isLastColRelative()
public void setLastColRelative(boolean rel)
public void setLastColumn(short column)
public void setLastColumnRaw(short column)
public String toFormulaString(Workbook book)
Ptg
toFormulaString
in class Ptg
public byte getDefaultOperandClass()
getDefaultOperandClass
in class Ptg
Copyright © 2014 Open Microscopy Environment