public static class GridLabelFormat.Detailed extends GridLabelFormat
GridLabelFormat.Detailed, GridLabelFormat.Simple| Constructor and Description |
|---|
Detailed(java.lang.String valueFormat,
java.lang.String unitFormat,
java.lang.String formatDecimalSeparator,
java.lang.String formatGroupingSeparator)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
format(double value,
java.lang.String unit)
Format a label using the given value and unit.
|
fromConfigpublic Detailed(java.lang.String valueFormat,
java.lang.String unitFormat,
java.lang.String formatDecimalSeparator,
java.lang.String formatGroupingSeparator)
valueFormat - Value format.unitFormat - Unit format.formatDecimalSeparator - Decimal separator.formatGroupingSeparator - Grouping separator.public final java.lang.String format(double value,
java.lang.String unit)
GridLabelFormatformat in class GridLabelFormatvalue - Value.unit - Unit.