java.lang.Object
com.foreach.across.modules.bootstrapui.elements.Style
All Implemented Interfaces:
Serializable

public class Style extends Object implements Serializable
Contains the common Bootstrap styles and provides ability to define new styles as constants.
Author:
Arne Vandamme
See Also:
  • Field Details

    • DEFAULT

      public static final Style DEFAULT
    • ACTIVE

      public static final Style ACTIVE
    • LIGHT

      public static final Style LIGHT
    • DARK

      public static final Style DARK
    • PRIMARY

      public static final Style PRIMARY
    • SECONDARY

      public static final Style SECONDARY
    • SUCCESS

      public static final Style SUCCESS
    • INFO

      public static final Style INFO
    • WARNING

      public static final Style WARNING
    • DANGER

      public static final Style DANGER
  • Constructor Details

    • Style

      public Style(String name)
  • Method Details

    • getName

      public String getName()
    • forPrefix

      public String forPrefix(String prefix)
    • isDefaultStyle

      public boolean isDefaultStyle()
      Returns:
      True if should behave as a default style, meaning it will be prefixed depending on the controls it is used on.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object