Enum Class MarbleBrand.Brand

java.lang.Object
java.lang.Enum<MarbleBrand.Brand>
org.zkoss.zul.theme.MarbleBrand.Brand
All Implemented Interfaces:
Serializable, Comparable<MarbleBrand.Brand>, Constable
Enclosing class:
MarbleBrand

public static enum MarbleBrand.Brand extends Enum<MarbleBrand.Brand>
A built-in brand preset. The token is what lands in the DOM as data-brand.
  • Enum Constant Details

    • DEFAULT

      public static final MarbleBrand.Brand DEFAULT
      Default Marble blue (#376fd0) — matches the theme's base :root seed.
    • SLATE

      public static final MarbleBrand.Brand SLATE
      Slate (#506274).
    • COPPER

      public static final MarbleBrand.Brand COPPER
      Copper (#b45309).
  • Method Details

    • values

      public static MarbleBrand.Brand[] 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 MarbleBrand.Brand 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
    • token

      public String token()
      The data-brand attribute value for this preset.