Enum Class ScaleControl.DisplayMode

java.lang.Object
java.lang.Enum<ScaleControl.DisplayMode>
com.vaadin.flow.component.map.configuration.controls.ScaleControl.DisplayMode
All Implemented Interfaces:
Serializable, Comparable<ScaleControl.DisplayMode>, Constable
Enclosing class:
ScaleControl

public static enum ScaleControl.DisplayMode extends Enum<ScaleControl.DisplayMode>
Display mode for the scale control.
  • Enum Constant Details

  • Method Details

    • values

      public static ScaleControl.DisplayMode[] 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 ScaleControl.DisplayMode 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