Package com.smartgwt.client.types
Enum RowEndEditAction
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<RowEndEditAction>
,Constable
While editing a ListGrid, what cell should we edit when the user attempts to navigate into a cell past the end of an
editable row, via a Tab keypress, or a programmatic saveAndEditNextCell() call?
-
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 TypeMethodDescriptiongetValue()
static RowEndEditAction
Returns the enum constant of this type with the specified name.static RowEndEditAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SAME
navigate to the first editable cell in the same recordIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "same". -
NEXT
navigate to the first editable cell in the next recordIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "next". -
DONE
complete the edit.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "done". -
STOP
Leave focus in the cell being edited (take no action)If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "stop". -
NONE
take no actionIf this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
-