java.lang.Object
java.lang.Enum<PanelType>
de.agilecoders.wicket.core.markup.html.bootstrap.panel.PanelType
All Implemented Interfaces:
Serializable, Comparable<PanelType>, Constable

public enum PanelType extends Enum<PanelType>
Automatically sets panel's header background and border.
  • Enum Constant Details

    • Default

      public static final PanelType Default
    • Primary

      public static final PanelType Primary
    • Primary_subtle

      public static final PanelType Primary_subtle
    • Secondary

      public static final PanelType Secondary
    • Secondary_subtle

      public static final PanelType Secondary_subtle
    • Success

      public static final PanelType Success
    • Success_subtle

      public static final PanelType Success_subtle
    • Danger

      public static final PanelType Danger
    • Danger_subtle

      public static final PanelType Danger_subtle
    • Warning

      public static final PanelType Warning
    • Warning_subtle

      public static final PanelType Warning_subtle
    • Info

      public static final PanelType Info
    • Info_subtle

      public static final PanelType Info_subtle
    • Light

      public static final PanelType Light
    • Light_subtle

      public static final PanelType Light_subtle
    • Dark

      public static final PanelType Dark
    • Dark_subtle

      public static final PanelType Dark_subtle
    • Body_secondary

      public static final PanelType Body_secondary
    • Body_tertiary

      public static final PanelType Body_tertiary
    • Body

      public static final PanelType Body
    • Black

      public static final PanelType Black
    • White

      public static final PanelType White
    • Transparent

      public static final PanelType Transparent
  • Method Details

    • values

      public static PanelType[] 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 PanelType 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
    • getBackgroundColor

      public BackgroundColorBehavior.Color getBackgroundColor()
      Returns:
      the backgroundColor
    • getTextColor

      public ColorBehavior.Color getTextColor()
      Returns:
      the textColor
    • getBorderColor

      public BorderBehavior.Color getBorderColor()
      Returns:
      the borderColor