Enum Class GridType

java.lang.Object
java.lang.Enum<GridType>
org.mapfish.print.map.geotools.grid.GridType
All Implemented Interfaces:
Serializable, Comparable<GridType>, Constable

public enum GridType extends Enum<GridType>
The supported Grid types.
  • Enum Constant Details

    • LINES

      public static final GridType LINES
      Represents a Grid that consists of lines.
    • POINTS

      public static final GridType POINTS
      Represents a Grid that consists of points where the lines would intersect if the grid was a set of lines.
  • Method Details

    • values

      public static GridType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GridType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null