Uses of Interface
org.openjdk.jmc.common.unit.IFormatter
-
Packages that use IFormatter Package Description org.openjdk.jmc.common.unit This package contains the data model for quantities and units. -
-
Uses of IFormatter in org.openjdk.jmc.common.unit
Subinterfaces of IFormatter in org.openjdk.jmc.common.unit Modifier and Type Interface Description interface
IIncrementalFormatter
Quantity formatter extension to reduce redundant information when presenting multiple adjacent, and growing, quantities for human consumption.Classes in org.openjdk.jmc.common.unit that implement IFormatter Modifier and Type Class Description class
ComparableConstraint<T extends Comparable<T>>
Aconstraint
that wraps apersister
forComparable
values, and constrains the allowed values with minimum and maximum values.class
DisplayFormatter<T>
A display formatter is basically an identifier that tells a user interface widget how the unit should be formatted, e.g.static class
KindOfQuantity.ExactFormatter<U extends TypedUnit<U>>
static class
KindOfQuantity.VerboseFormatter<U extends TypedUnit<U>>
static class
LinearKindOfQuantity.AutoFormatter
static class
LinearKindOfQuantity.DualUnitFormatter
Methods in org.openjdk.jmc.common.unit that return IFormatter Modifier and Type Method Description IFormatter<T>
ContentType. getDefaultFormatter()
IFormatter<T>
ContentType. getFormatter(String formatterIdentifier)
abstract IFormatter<IQuantity>
KindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
Get a formatter with sufficient resolution to produce unique strings for both ends ofrange
, and consecutive equally spaced quantities.IFormatter<IQuantity>
LinearKindOfQuantity. getFormatterResolving(IRange<IQuantity> range)
IFormatter<IRange<IQuantity>>
KindOfQuantity. getRangeFormatter(String formatHint)
Temporary helper to format quantity ranges.
-