|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ValueException | |
|---|---|
| com.programix.gui.text | Customized JTextField's for integer, decimal (money), and date input and other graphical text utilities. |
| com.programix.math | Various containers and tools for dealing with numbers and math (including parsing and formatting). |
| com.programix.value | The Value framework for encapsulating "values" generically in a way that they can be coerced into other types. |
| Uses of ValueException in com.programix.gui.text |
|---|
| Methods in com.programix.gui.text that throw ValueException | |
|---|---|
int |
IntegerField.getInt()
Returns the current value as an int. |
| Uses of ValueException in com.programix.math |
|---|
| Methods in com.programix.math that throw ValueException | |
|---|---|
static BigDecimal |
DecimalTools.parseBigDecimal(String source)
Permissively parses the passed String into a BigDecimal. |
static double |
DecimalTools.parseDouble(String source)
Permissively parses the passed String into a double. |
static int |
NumberTools.parseIntLenient(String source)
Permissively parses the passed String into an int. |
static long |
NumberTools.parseLongLenient(String source)
Permissively parses the passed String into a long. |
| Uses of ValueException in com.programix.value |
|---|
| Subclasses of ValueException in com.programix.value | |
|---|---|
class |
RangeValueException
A kind of ValueException thrown to indicate that a Value
can not fit in the range of values for a given type. |
| Methods in com.programix.value that throw ValueException | ||
|---|---|---|
BigDecimal |
AbstractValue.getBigDecimal()
|
|
BigDecimal |
Value.getBigDecimal()
Returns the result as a BigDecimal. |
|
BigDecimal |
ValueMap.getBigDecimal(String key)
Returns the value stored under the specified required key as a BigDecimal. |
|
BigDecimal |
AbstractValue.getBigDecimalOrNull()
|
|
BigDecimal |
Value.getBigDecimalOrNull()
Returns the result as a BigDecimal
or null if the value is empty. |
|
byte |
AbstractValue.getByte()
|
|
byte |
Value.getByte()
Returns the result as a rounded off byte value. |
|
Byte |
AbstractValue.getByteNumber()
|
|
Byte |
Value.getByteNumber()
Returns the result as a rounded off Byte value. |
|
Byte |
AbstractValue.getByteNumberOrNull()
|
|
Byte |
Value.getByteNumberOrNull()
Returns the result as a Byte
or null if the value is empty. |
|
DateTime |
AbstractValue.getDateTime()
|
|
DateTime |
Value.getDateTime()
Returns the encapsulated value interpreted as a DateTime
assuming the UTC timezone if necessary. |
|
DateTime |
ValueMap.getDateTime(String key)
Returns the value stored under the specified required key as a DateTime (defaulting to the UTC timezone if necessary). |
|
DateTime |
ValueMap.getDateTime(String key,
TimeZone tz)
Returns the value stored under the specified required key as a DateTime (defaulting to the specified timezone if necessary). |
|
DateTime |
AbstractValue.getDateTime(TimeZone defaultTimeZone)
|
|
DateTime |
Value.getDateTime(TimeZone defaultTimeZone)
Returns the encapsulated value interpreted as a DateTime
assuming the specified timezone if necessary. |
|
DateTime |
AbstractValue.getDateTimeLocal()
|
|
DateTime |
Value.getDateTimeLocal()
Returns the encapsulated value interpreted as a DateTime
assuming the local VM's timezone if necessary. |
|
DateTime |
ValueMap.getDateTimeLocal(String key)
Returns the value stored under the specified required key as a DateTime (defaulting to the local VM's timezone if necessary). |
|
DateTime |
AbstractValue.getDateTimeLocalOrNull()
|
|
DateTime |
Value.getDateTimeLocalOrNull()
Returns the result as a DateTime
or null if the value is empty
(using the local VM's timezone for interpretation if necessary). |
|
DateTime |
AbstractValue.getDateTimeOrNull()
|
|
DateTime |
Value.getDateTimeOrNull()
Returns the result as a DateTime
or null if the value is empty
(using the UTC timezone for interpretation if necessary). |
|
DateTime |
AbstractValue.getDateTimeOrNull(TimeZone defaultTimeZone)
|
|
DateTime |
Value.getDateTimeOrNull(TimeZone defaultTimeZone)
Returns the result as a DateTime
or null if the value is empty
(using the specified timezone for interpretation if necessary). |
|
double |
AbstractValue.getDouble()
|
|
double |
Value.getDouble()
Returns the result as a double value. |
|
double |
ValueMap.getDouble(String key)
Returns the value stored under the specified required key as a double. |
|
Double |
AbstractValue.getDoubleNumber()
|
|
Double |
Value.getDoubleNumber()
Returns the result as a Double value. |
|
Double |
ValueMap.getDoubleNumber(String key)
Returns the value stored under the specified required key as an Double. |
|
Double |
AbstractValue.getDoubleNumberOrNull()
|
|
Double |
Value.getDoubleNumberOrNull()
Returns the result as an Double
or null if the value is empty. |
|
float |
AbstractValue.getFloat()
|
|
float |
Value.getFloat()
Returns the result as a float value. |
|
float |
ValueMap.getFloat(String key)
Returns the value stored under the specified required key as a float. |
|
Float |
AbstractValue.getFloatNumber()
|
|
Float |
Value.getFloatNumber()
Returns the result as a Float value. |
|
Float |
ValueMap.getFloatNumber(String key)
Returns the value stored under the specified required key as an Float. |
|
Float |
AbstractValue.getFloatNumberOrNull()
|
|
Float |
Value.getFloatNumberOrNull()
Returns the result as an Float
or null if the value is empty. |
|
int |
AbstractValue.getInt()
|
|
int |
Value.getInt()
Returns the result as a rounded off int value. |
|
int |
ValueMap.getInt(String key)
Returns the value stored under the specified required key as an int. |
|
Integer |
AbstractValue.getIntegerNumber()
|
|
Integer |
Value.getIntegerNumber()
Returns the result as a rounded off Integer value. |
|
Integer |
ValueMap.getIntegerNumber(String key)
Returns the value stored under the specified required key as an Integer. |
|
Integer |
AbstractValue.getIntegerNumberOrNull()
|
|
Integer |
Value.getIntegerNumberOrNull()
Returns the result as an Integer
or null if the value is empty. |
|
long |
AbstractValue.getLong()
|
|
long |
Value.getLong()
Returns the result as a rounded off long value. |
|
long |
ValueMap.getLong(String key)
Returns the value stored under the specified required key as a long. |
|
Long |
AbstractValue.getLongNumber()
|
|
Long |
Value.getLongNumber()
Returns the result as a rounded off Long value. |
|
Long |
ValueMap.getLongNumber(String key)
Returns the value stored under the specified required key as a Long. |
|
Long |
AbstractValue.getLongNumberOrNull()
|
|
Long |
Value.getLongNumberOrNull()
Returns the result as a Long
or null if the value is empty. |
|
Number |
AbstractValue.getNumber()
|
|
Number |
Value.getNumber()
Returns the encapsulated value interpreted a Number value. |
|
Number |
ValueMap.getNumber(String key)
Returns the value stored under the specified required key as a Number. |
|
Number |
AbstractValue.getNumberOrNull()
|
|
Number |
Value.getNumberOrNull()
Returns the result as a Number
or null if the value is empty. |
|
|
AbstractValue.getObject(Class<T> targetType)
|
|
|
Value.getObject(Class<T> targetType)
Returns the encapsulated value as a generic Object reference that is guaranteed to be able to be explicitly cast into the specified targetType. |
|
|
ValueMap.getObject(String key,
Class<T> type)
Returns the value stored under the specified required key as an Object. |
|
|
AbstractValue.getObjectOrNull(Class<T> targetType)
|
|
|
Value.getObjectOrNull(Class<T> targetType)
Returns the encapsulated value as a generic Object reference or null if the value is empty. |
|
PlainDate |
AbstractValue.getPlainDate()
|
|
PlainDate |
Value.getPlainDate()
Returns the encapsulated value interpreted as a PlainDate. |
|
PlainDate |
ValueMap.getPlainDate(String key)
Returns the value stored under the specified required key as a PlainDate. |
|
PlainDate |
AbstractValue.getPlainDateOrNull()
|
|
PlainDate |
Value.getPlainDateOrNull()
Returns the result as a PlainDate
or null if the value is empty. |
|
short |
AbstractValue.getShort()
|
|
short |
Value.getShort()
Returns the result as a rounded off short value. |
|
Short |
AbstractValue.getShortNumber()
|
|
Short |
Value.getShortNumber()
Returns the result as a rounded off Short value. |
|
Short |
AbstractValue.getShortNumberOrNull()
|
|
Short |
Value.getShortNumberOrNull()
Returns the result as a Short
or null if the value is empty. |
|
|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||