Enum Class RowAction.Present

java.lang.Object
java.lang.Enum<RowAction.Present>
org.apache.juneau.console.views.RowAction.Present
All Implemented Interfaces:
Serializable, Comparable<RowAction.Present>, Constable
Enclosing class:
RowAction

public static enum RowAction.Present extends Enum<RowAction.Present>
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.

  • Enum Constant Details

    • PAGE

      public static final RowAction.Present PAGE
      Navigate to / render the action's form as a full page.
    • DIALOG

      public static final RowAction.Present DIALOG
      Render the action's form/confirmation in a modal dialog.
    • INLINE

      public static final RowAction.Present 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

      public static RowAction.Present[] 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

      public static RowAction.Present valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • wire

      public String wire()
      Returns the lowercase wire token for this presentation.
      Returns:
      The wire token (e.g. "dialog").