| Package | Description |
|---|---|
| org.rhq.core.clientapi.util.units |
| Modifier and Type | Method and Description |
|---|---|
UnitsConstants |
UnitNumber.getUnits() |
protected abstract UnitsConstants |
SimpleFormatter.getUnitType() |
protected UnitsConstants |
PercentageFormatter.getUnitType() |
protected UnitsConstants |
NoFormatter.getUnitType() |
static UnitsConstants |
UnitsConstants.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsConstants[] |
UnitsConstants.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
FormattedNumber[] |
DateFormatter.formatSame(double[] val,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale) |
FormattedNumber[] |
BinaryFormatter.formatSame(double[] vals,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics specifics) |
FormattedNumber[] |
SimpleFormatter.formatSame(double[] vals,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics specifics) |
FormattedNumber[] |
Formatter.formatSame(double[] values,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics format)
Format a several values at once into the same format.
|
FormattedNumber[] |
PercentageFormatter.formatSame(double[] vals,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics specifics) |
FormattedNumber[] |
TemperatureFormatter.formatSame(double[] values,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics format) |
FormattedNumber[] |
DurationFormatter.formatSame(double[] val,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics specifics) |
FormattedNumber[] |
DateFormatter.formatSame(double[] val,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics specifics) |
| Constructor and Description |
|---|
UnitNumber(double value,
UnitsConstants units) |
UnitNumber(double value,
UnitsConstants units,
ScaleConstants scale) |
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.