Package org.apache.juneau.console.views
Enum Class RowAction.Present
- All Implemented Interfaces:
Serializable,Comparable<RowAction.Present>,Constable
- Enclosing class:
- RowAction
How a row action's form/confirmation is presented.
Each constant carries the lowercase wire token emitted for the present field. INLINE also
keeps the action out of the row menu.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic RowAction.PresentReturns the enum constant of this class with the specified name.static RowAction.Present[]values()Returns an array containing the constants of this enum class, in the order they are declared.wire()Returns the lowercase wire token for this presentation.
-
Enum Constant Details
-
PAGE
Navigate to / render the action's form as a full page. -
DIALOG
Render the action's form/confirmation in a modal dialog. -
INLINE
The action is fired from its cell pill or edit cell, never from the row menu.The row-action menu omits it; every other activation surface still runs it.
-
-
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
-
wire
Returns the lowercase wire token for this presentation.- Returns:
- The wire token (e.g.
"dialog").
-