public final class NumberEval extends Object implements NumericValueEval, StringValueEval, HyperlinkEval
Modifier and Type | Field and Description |
---|---|
static NumberEval |
ZERO |
Constructor and Description |
---|
NumberEval(double value) |
NumberEval(Ptg ptg) |
Modifier and Type | Method and Description |
---|---|
Hyperlink |
getHyperlink()
Returns the associated hyperlink if this ValueEval is a label of the HYPERLINK function.
|
double |
getNumberValue() |
String |
getStringValue() |
void |
setHyperlink(Hyperlink hyperlink)
Sets the associated hyperlink if this ValueEval is a label of the HYPERLINK function.
|
String |
toString() |
public static final NumberEval ZERO
public NumberEval(Ptg ptg)
public NumberEval(double value)
public double getNumberValue()
getNumberValue
in interface NumericValueEval
public String getStringValue()
getStringValue
in interface StringValueEval
null
, possibly empty string.public void setHyperlink(Hyperlink hyperlink)
HyperlinkEval
setHyperlink
in interface HyperlinkEval
hyperlink
- the associated hyperlinkpublic Hyperlink getHyperlink()
HyperlinkEval
getHyperlink
in interface HyperlinkEval
Copyright © 2020. All rights reserved.