CalculationCell
Inheritance: java.lang.Object
public class CalculationCell
Represents the calculation relevant data about one cell which is being calculated.
Remarks
All objects provided by this class are for “read” purpose only. User should not change any data in the Workbook during the formula calculation process, Otherwise unexpected result or Exception may be caused.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getCell() | Gets the Cell object which is being calculated. |
getCellColumn() | Gets the column index of the cell. |
getCellRow() | Gets the row index of the cell. |
getClass() | |
getWorkbook() | Gets the Workbook object. |
getWorksheet() | Gets the Worksheet object where the cell is in. |
hashCode() | |
notify() | |
notifyAll() | |
setCalculatedValue(Object v) | Sets the calculated value for the cell. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getCell()
public Cell getCell()
Gets the Cell object which is being calculated.
Returns: Cell
getCellColumn()
public int getCellColumn()
Gets the column index of the cell.
Returns: int
getCellRow()
public int getCellRow()
Gets the row index of the cell.
Returns: int
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getWorkbook()
public Workbook getWorkbook()
Gets the Workbook object.
Returns: Workbook
getWorksheet()
public Worksheet getWorksheet()
Gets the Worksheet object where the cell is in.
Returns: Worksheet
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCalculatedValue(Object v)
public void setCalculatedValue(Object v)
Sets the calculated value for the cell.
Remarks
User can set the calculated result by this method to ignore the automatic calculation for the cell.
Parameters:
Parameter | Type | Description |
---|---|---|
v | java.lang.Object |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |