java.lang.Object
java.lang.Enum<Alert.Type>
de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Alert.Type
All Implemented Interfaces:
ICssClassNameProvider, Serializable, Comparable<Alert.Type>, Constable, IClusterable
Enclosing class:
Alert

public static enum Alert.Type extends Enum<Alert.Type> implements ICssClassNameProvider
The Type enum defines all possible alert types.
  • Enum Constant Details

  • Method Details

    • values

      public static Alert.Type[] 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 Alert.Type 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
    • cssClassName

      public String cssClassName()
      Specified by:
      cssClassName in interface ICssClassNameProvider
      Returns:
      a css class name
    • from

      public static Alert.Type from(String level)