Package com.vaadin.flow.component.crud
Enum CrudEditorPosition
- java.lang.Object
-
- java.lang.Enum<CrudEditorPosition>
-
- com.vaadin.flow.component.crud.CrudEditorPosition
-
- All Implemented Interfaces:
Serializable
,Comparable<CrudEditorPosition>
public enum CrudEditorPosition extends Enum<CrudEditorPosition>
Enum with the possible values for the crud's editor position.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CrudEditorPosition
valueOf(String name)
Returns the enum constant of this type with the specified name.static CrudEditorPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERLAY
public static final CrudEditorPosition OVERLAY
Editor form is positioned inside the overlay
-
BOTTOM
public static final CrudEditorPosition BOTTOM
Editor form is positioned below the grid
-
ASIDE
public static final CrudEditorPosition ASIDE
Editor form is positioned on the grid side-
right
- if ltr
-left
- if rtl
-
-
Method Detail
-
values
public static CrudEditorPosition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CrudEditorPosition c : CrudEditorPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CrudEditorPosition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-