public final class NumberEval extends java.lang.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() |
java.lang.String |
getStringValue() |
void |
setHyperlink(Hyperlink hyperlink)
Sets the associated hyperlink if this ValueEval is a label of the HYPERLINK function.
|
java.lang.String |
toString() |
public static final NumberEval ZERO
public NumberEval(Ptg ptg)
public NumberEval(double value)
public double getNumberValue()
getNumberValue
in interface NumericValueEval
public java.lang.String getStringValue()
getStringValue
in interface StringValueEval
null
, possibly empty string.public final java.lang.String toString()
toString
in class java.lang.Object
public void setHyperlink(Hyperlink hyperlink)
HyperlinkEval
setHyperlink
in interface HyperlinkEval
hyperlink
- the associated hyperlinkpublic Hyperlink getHyperlink()
HyperlinkEval
getHyperlink
in interface HyperlinkEval
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.