java.lang.Object
java.lang.Enum<LabelType>
de.agilecoders.wicket.core.markup.html.bootstrap.block.LabelType
All Implemented Interfaces:
ICssClassNameModifier, ICssClassNameProvider, Serializable, Comparable<LabelType>, Constable, IClusterable

public enum LabelType extends Enum<LabelType> implements ICssClassNameProvider, ICssClassNameModifier
#### Description A LabelType defines the type of label which changes highlighted color. documentation: http://getbootstrap.com/components/#labels
  • Enum Constant Details

    • Default

      public static final LabelType Default
    • Primary

      public static final LabelType Primary
    • Success

      public static final LabelType Success
    • Warning

      public static final LabelType Warning
    • Info

      public static final LabelType Info
    • Danger

      public static final LabelType Danger
  • Method Details

    • values

      public static LabelType[] 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 LabelType 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
    • cssClassName

      public String cssClassName(String prefix)
    • newCssClassNameModifier

      public CssClassNameAppender newCssClassNameModifier()
      Specified by:
      newCssClassNameModifier in interface ICssClassNameModifier
      Returns:
      a AttributeModifier which contains the css class name
    • newCssClassNameModifier

      public CssClassNameAppender newCssClassNameModifier(String prefix)