public final class Bool extends Object
| Constructor and Description |
|---|
Bool() |
| Modifier and Type | Method and Description |
|---|---|
static EnumAttr |
falseValue()
Static function for returning Off/false/0
|
static EnumAttr |
getBool(boolean bValue)
Construct an instance from a boolean
|
static EnumAttr |
getBool(String sValue)
Get the boolean instance from a string
|
static boolean |
getValue(EnumAttr e)
Return the boolean value of an enumerated value
|
static boolean |
getValue(EnumValue e)
Return the boolean value of an enumerated attribute
|
static String |
toString(boolean b)
Convenience method to return a string for a boolean value.
|
static EnumAttr |
trueValue()
Static function for returning On/true/1
|
public static EnumAttr falseValue()
public static EnumAttr getBool(boolean bValue)
bValue - the input booleanpublic static EnumAttr getBool(String sValue)
sValue - "1" for true, "0" or "" for falseInvalidPropertyValueExceptionpublic static boolean getValue(EnumAttr e)
e - the enumerated valuepublic static boolean getValue(EnumValue e)
e - the enumerated attributepublic static String toString(boolean b)
b - the boolean valuepublic static EnumAttr trueValue()
Copyright © 2010 - 2020 Adobe. All Rights Reserved