Enum Class HugeRteVariant

java.lang.Object
java.lang.Enum<HugeRteVariant>
org.vaadin.hugerte.HugeRteVariant
All Implemented Interfaces:
com.vaadin.flow.component.shared.ThemeVariant, Serializable, Comparable<HugeRteVariant>, Constable

public enum HugeRteVariant extends Enum<HugeRteVariant> implements com.vaadin.flow.component.shared.ThemeVariant
  • Enum Constant Details

    • NO_EDITOR_FOCUS_HIGHLIGHT

      public static final HugeRteVariant NO_EDITOR_FOCUS_HIGHLIGHT
      By default, when focused, the editor shows a colorized border around the editor area. The color is by default either the primary color or an error color for an invalid editor. With this theme variant, the focused indicator border will not be shown at all.
    • NO_INVALID_BACKGROUND

      public static final HugeRteVariant NO_INVALID_BACKGROUND
      By default, an invalid editor will set an error color to its editor area background, similar to other Vaadin input fields. This theme variant disables this behavior. The editor will then only apply an error color to the focus border.
  • Method Details

    • values

      public static HugeRteVariant[] 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 HugeRteVariant 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
    • getVariantName

      public String getVariantName()
      Specified by:
      getVariantName in interface com.vaadin.flow.component.shared.ThemeVariant