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.
  • Constructor Details

    • Simple

      public Simple(String labelFormat)
      Constructor.
      Parameters:
      labelFormat - Label format.
  • Method Details

    • format

      public final String format(double value, String unit)
      Description copied from class: GridLabelFormat
      Format a label using the given value and unit.
      Specified by:
      format in class GridLabelFormat
      Parameters:
      value - Value.
      unit - Unit.