Enum Class ZoomToFeatures.ZoomType

java.lang.Object
java.lang.Enum<ZoomToFeatures.ZoomType>
org.mapfish.print.attribute.map.ZoomToFeatures.ZoomType
All Implemented Interfaces:
Serializable, Comparable<ZoomToFeatures.ZoomType>, Constable
Enclosing class:
ZoomToFeatures

public static enum ZoomToFeatures.ZoomType extends Enum<ZoomToFeatures.ZoomType>
The zoom type.
  • Enum Constant Details

    • CENTER

      public static final ZoomToFeatures.ZoomType CENTER
      Set the center of the map to the center of the extent of the features.
    • EXTENT

      public static final ZoomToFeatures.ZoomType EXTENT
      Set the extent of the map so that all features are visible.
  • Method Details

    • values

      public static ZoomToFeatures.ZoomType[] 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 ZoomToFeatures.ZoomType 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