Class GridLabelFormat.Simple
- java.lang.Object
-
- org.mapfish.print.map.geotools.grid.GridLabelFormat
-
- org.mapfish.print.map.geotools.grid.GridLabelFormat.Simple
-
- Enclosing class:
- GridLabelFormat
public static class GridLabelFormat.Simple extends GridLabelFormat
Label format where value and unit are formatted at once.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.mapfish.print.map.geotools.grid.GridLabelFormat
GridLabelFormat.Detailed, GridLabelFormat.Simple
-
-
Constructor Summary
Constructors Constructor Description Simple(java.lang.String labelFormat)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(double value, java.lang.String unit)
Format a label using the given value and unit.-
Methods inherited from class org.mapfish.print.map.geotools.grid.GridLabelFormat
fromConfig
-
-
-
-
Method Detail
-
format
public final java.lang.String format(double value, java.lang.String unit)
Description copied from class:GridLabelFormat
Format a label using the given value and unit.- Specified by:
format
in classGridLabelFormat
- Parameters:
value
- Value.unit
- Unit.
-
-