Package com.vaadin.flow.component.grid
Enum Class CellFocusEvent.GridSection
java.lang.Object
java.lang.Enum<CellFocusEvent.GridSection>
com.vaadin.flow.component.grid.CellFocusEvent.GridSection
- All Implemented Interfaces:
Serializable
,Comparable<CellFocusEvent.GridSection>
,Constable
- Enclosing class:
- CellFocusEvent<T>
An enum representing the different sections of a grid.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the client side name of the section.static CellFocusEvent.GridSection
ofClientSideName
(String clientSideName) Returns the matchingCellFocusEvent.GridSection
for the given client side name.static CellFocusEvent.GridSection
Returns the enum constant of this class with the specified name.static CellFocusEvent.GridSection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEADER
Header section. -
BODY
Body section. -
FOOTER
Footer section.
-
-
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
-
ofClientSideName
Returns the matchingCellFocusEvent.GridSection
for the given client side name. An unknown client side name will lead to an exception.- Parameters:
clientSideName
- client side name to lookup- Returns:
- matching section instance
- Throws:
IllegalArgumentException
- on an unknown client side section name
-
getClientSideName
Returns the client side name of the section.- Returns:
- client side name
-