Enum Class WebeditColor

java.lang.Object
java.lang.Enum<WebeditColor>
de.espirit.firstspirit.webedit.WebeditColor
All Implemented Interfaces:
Serializable, Comparable<WebeditColor>, Constable

public enum WebeditColor extends Enum<WebeditColor>
Colors compatible with the Webedit color theme.
Since:
5.2.516
  • Enum Constant Details

    • BLUEBERRY

      public static final WebeditColor BLUEBERRY
      Since:
      5.2.516
    • BUBBLEGUM

      public static final WebeditColor BUBBLEGUM
      Since:
      5.2.516
    • PEPPERMINT

      public static final WebeditColor PEPPERMINT
      Since:
      5.2.516
    • ARUGULA

      public static final WebeditColor ARUGULA
      Since:
      5.2.516
    • BASIL

      public static final WebeditColor BASIL
      Since:
      5.2.516
    • KIWI

      public static final WebeditColor KIWI
      Since:
      5.2.516
    • VANILLA

      public static final WebeditColor VANILLA
      Since:
      5.2.516
    • CARAMEL

      public static final WebeditColor CARAMEL
      Since:
      5.2.516
    • MILKCHOCOLATE

      public static final WebeditColor MILKCHOCOLATE
      Since:
      5.2.516
    • DARKCHOCOLATE

      public static final WebeditColor DARKCHOCOLATE
      Since:
      5.2.516
    • CHERRY

      public static final WebeditColor CHERRY
      Since:
      5.2.516
    • STRAWBERRY

      public static final WebeditColor STRAWBERRY
      Since:
      5.2.516
    • LAVENDER

      public static final WebeditColor LAVENDER
      Since:
      5.2.516
    • PLUM

      public static final WebeditColor PLUM
      Since:
      5.2.516
    • SHARK

      public static final WebeditColor SHARK
      Since:
      5.2.516
    • LICORICE

      public static final WebeditColor LICORICE
      Since:
      5.2.516
  • Method Details

    • values

      public static WebeditColor[] 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 WebeditColor 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
    • getHEX

      @NotNull public @NotNull String getHEX()
      Returns the HEX value representing the color in the sRGB color model (e.g. #ffffff).
      Returns:
      the HEX value.
      Since:
      5.2.516
    • getRGB

      public int getRGB()
      Returns the RGB value representing the color in the sRGB color model.
      Returns:
      the RGB value.
      Since:
      5.2.516