Package org.vaadin.hugerte
Enum Class 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBy default, when focused, the editor shows a colorized border around the editor area.By default, an invalid editor will set an error color to its editor area background, similar to other Vaadin input fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic HugeRteVariantReturns the enum constant of this class with the specified name.static HugeRteVariant[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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 nameNullPointerException- if the argument is null
-
getVariantName
- Specified by:
getVariantNamein interfacecom.vaadin.flow.component.shared.ThemeVariant
-