com.vaadin.flow.component.richtexteditor.RichTextEditorVariant Maven / Gradle / Ivy
/**
* Copyright 2000-2024 Vaadin Ltd.
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.flow.component.richtexteditor;
import com.vaadin.flow.component.shared.ThemeVariant;
/**
* Set of theme variants applicable for {@code vaadin-rich-text-editor}
* component.
*/
public enum RichTextEditorVariant implements ThemeVariant {
//@formatter:off
LUMO_NO_BORDER("no-border"),
LUMO_COMPACT("compact"),
MATERIAL_NO_BORDER("no-border");
//@formatter:on
private final String variant;
RichTextEditorVariant(String variant) {
this.variant = variant;
}
/**
* Gets the variant name.
*
* @return variant name
*/
public String getVariantName() {
return variant;
}
}