|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScaleConstants | |
|---|---|
| org.rhq.core.clientapi.util.units | |
| Uses of ScaleConstants in org.rhq.core.clientapi.util.units |
|---|
| Methods in org.rhq.core.clientapi.util.units that return ScaleConstants | |
|---|---|
static ScaleConstants |
ScaleConstants.getConstantWithOrdinal(int ord)
Return the UnitsConstants constant that has ord as its ordinal value |
ScaleConstants |
UnitNumber.getScale()
|
protected abstract ScaleConstants |
SimpleFormatter.getUnitScale()
|
protected ScaleConstants |
PercentageFormatter.getUnitScale()
|
protected ScaleConstants |
NoFormatter.getUnitScale()
|
static ScaleConstants |
ScaleConstants.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ScaleConstants[] |
ScaleConstants.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in org.rhq.core.clientapi.util.units that return types with arguments of type ScaleConstants | |
|---|---|
static EnumSet<ScaleConstants> |
ScaleConstants.getAllScales()
Return an EnumSet that conatins all SCALE_ enum constants |
static EnumSet<ScaleConstants> |
ScaleConstants.getBinaryScaleSet()
Return an EnumSet that contain all SCALE_ enum constants dealing with binary scaling |
static EnumSet<ScaleConstants> |
ScaleConstants.getTemperatureSet()
|
static EnumSet<ScaleConstants> |
ScaleConstants.getTimeSet()
Return an EnumSet that contain all SCALE_ enum constants dealing with time |
| Methods in org.rhq.core.clientapi.util.units with parameters of type ScaleConstants | |
|---|---|
protected FormattedNumber |
BinaryFormatter.createFormattedValue(double value,
ScaleConstants scale,
NumberFormat fmt)
|
FormattedNumber[] |
DateFormatter.formatSame(double[] val,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale)
|
FormattedNumber[] |
TemperatureFormatter.formatSame(double[] values,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics format)
|
FormattedNumber[] |
SimpleFormatter.formatSame(double[] vals,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics specifics)
|
FormattedNumber[] |
PercentageFormatter.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[] |
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)
|
FormattedNumber[] |
BinaryFormatter.formatSame(double[] vals,
UnitsConstants unitType,
ScaleConstants scale,
Locale locale,
FormatSpecifics specifics)
|
static BigDecimal |
DateFormatter.getBaseTime(double value,
ScaleConstants scale)
|
BigDecimal |
TemperatureFormatter.getBaseValue(double value,
ScaleConstants scale)
|
BigDecimal |
SimpleFormatter.getBaseValue(double value,
ScaleConstants scale)
|
BigDecimal |
Formatter.getBaseValue(double value,
ScaleConstants scale)
Get the base value of a value, given its scale. |
BigDecimal |
DurationFormatter.getBaseValue(double value,
ScaleConstants scale)
|
BigDecimal |
DateFormatter.getBaseValue(double value,
ScaleConstants scale)
|
BigDecimal |
BinaryFormatter.getBaseValue(double value,
ScaleConstants scale)
|
static BigDecimal |
DateFormatter.getScaledTime(BigDecimal value,
ScaleConstants targScale)
|
BigDecimal |
TemperatureFormatter.getScaledValue(BigDecimal value,
ScaleConstants targScale)
|
BigDecimal |
SimpleFormatter.getScaledValue(BigDecimal value,
ScaleConstants targScale)
|
BigDecimal |
Formatter.getScaledValue(BigDecimal value,
ScaleConstants targScale)
Get a scaled version of a value. |
BigDecimal |
DurationFormatter.getScaledValue(BigDecimal value,
ScaleConstants targScale)
|
BigDecimal |
DateFormatter.getScaledValue(BigDecimal value,
ScaleConstants targScale)
|
BigDecimal |
BinaryFormatter.getScaledValue(BigDecimal value,
ScaleConstants targScale)
|
BigDecimal |
UnitNumber.getScaledValue(ScaleConstants targScale)
|
| Constructors in org.rhq.core.clientapi.util.units with parameters of type ScaleConstants | |
|---|---|
UnitNumber(double value,
UnitsConstants units,
ScaleConstants scale)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||