public final class BoolEval extends java.lang.Object implements NumericValueEval, StringValueEval, HyperlinkEval
Modifier and Type | Field and Description |
---|---|
static BoolEval |
FALSE |
static BoolEval |
TRUE |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue() |
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() |
static BoolEval |
valueOf(boolean b)
Convenience method for the following:
(b ? |
public static final BoolEval valueOf(boolean b)
(b ? BoolEval.TRUE : BoolEval.FALSE)
public boolean getBooleanValue()
public double getNumberValue()
getNumberValue
in interface NumericValueEval
public java.lang.String getStringValue()
getStringValue
in interface StringValueEval
null
, possibly empty string.public 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.