java.lang.Object
com.foreach.across.modules.bootstrapui.elements.Style.Button
Enclosing class:
Style

public static class Style.Button extends Object
  • Field Details

    • DEFAULT

      public static final Style DEFAULT
    • 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

    • Button

      public Button()
  • Method Details

    • fromBootstrapStyleRule

      @Nullable public static Style fromBootstrapStyleRule(BootstrapStyleRule styleRule)
      Compatibility between the old Style enum approach and the new BootstrapStyleRule, attempts to resolve a Style enum from the bootstrap style rule.
      Parameters:
      styleRule - style rule
      Returns:
      matching Style (can be null)
    • toBootstrapStyleRule

      @Nullable public static BootstrapStyleRule toBootstrapStyleRule(Style style)
      Converts a Style enum value to the equivalent style rule.
      Parameters:
      style - enum value
      Returns:
      equivalent bootstrap style rule (can be null)