public interface SpreadsheetCellData extends TransientObject
type()
.
And then the value can obtained from the correct accessor. The value and type of the cell will be changed when calling the set methods. That is if a cell was a formula,
but the setDoubleValue(double)
is called, the type will be changed as well.
It should be noted the cell value on the sheet will not updated, by calling a set method on this class. The object must then be passed into the appropriate
method on SpreadsheetManager
.
Modifier and Type | Interface and Description |
---|---|
static class |
SpreadsheetCellData.Types
Data types enum
|
Modifier and Type | Method and Description |
---|---|
double |
doubleValue()
Returns the double value stored in the cell.
|
String |
formulaValue()
Returns the formula stored in the cell.
|
int |
intValue()
Returns the integer value stored in the cell.
|
boolean |
logicalValue()
Returns the logical value stored the cell.
|
void |
setDoubleValue(double doubleValue)
License requirements: None. |
void |
setFormulaValue(String formulaValue)
License requirements: None. |
void |
setIntValue(int intValue)
License requirements: None. |
void |
setLogicalValue(boolean logicalValue)
License requirements: None. |
void |
setStringValue(String stringValue)
License requirements: None. |
void |
setType(SpreadsheetCellData.Types cellType)
License requirements: None. |
String |
stringValue()
Returns the string value stored in the cell.
|
SpreadsheetCellData.Types |
type()
Returns the type of data in the cell.
|
_value, dispose, printTestData, printTestData
SpreadsheetCellData.Types type() throws NXException, RemoteException
NXException
RemoteException
void setType(SpreadsheetCellData.Types cellType) throws NXException, RemoteException
cellType
- NXException
RemoteException
double doubleValue() throws NXException, RemoteException
NXException
RemoteException
void setDoubleValue(double doubleValue) throws NXException, RemoteException
doubleValue
- NXException
RemoteException
int intValue() throws NXException, RemoteException
NXException
RemoteException
void setIntValue(int intValue) throws NXException, RemoteException
intValue
- NXException
RemoteException
String formulaValue() throws NXException, RemoteException
NXException
RemoteException
void setFormulaValue(String formulaValue) throws NXException, RemoteException
formulaValue
- NXException
RemoteException
String stringValue() throws NXException, RemoteException
NXException
RemoteException
void setStringValue(String stringValue) throws NXException, RemoteException
stringValue
- NXException
RemoteException
boolean logicalValue() throws NXException, RemoteException
NXException
RemoteException
void setLogicalValue(boolean logicalValue) throws NXException, RemoteException
logicalValue
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.