Enum EditCompletionEvent

java.lang.Object
java.lang.Enum<EditCompletionEvent>
com.smartgwt.client.types.EditCompletionEvent
All Implemented Interfaces:
ValueEnum, Serializable, Comparable<EditCompletionEvent>, Constable

public enum EditCompletionEvent extends Enum<EditCompletionEvent> implements ValueEnum
What event / user interaction type caused cell editing to complete.
  • Enum Constant Details

    • CLICK_OUTSIDE

      public static final EditCompletionEvent CLICK_OUTSIDE
      User clicked outside editor during edit.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "click_outside".

    • CLICK

      public static final EditCompletionEvent CLICK
      User started editing another row by clicking on it

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "click".

    • DOUBLE_CLICK

      public static final EditCompletionEvent DOUBLE_CLICK
      User started editing another row by double clicking

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "doubleClick".

    • ENTER_KEYPRESS

      public static final EditCompletionEvent ENTER_KEYPRESS
      Enter pressed.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "enter".

    • ESCAPE_KEYPRESS

      public static final EditCompletionEvent ESCAPE_KEYPRESS
      User pressed Escape.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "escape".

    • UP_ARROW_KEYPRESS

      public static final EditCompletionEvent UP_ARROW_KEYPRESS
      Up arrow key pressed.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "arrow_up".

    • DOWN_ARROW_KEYPRESS

      public static final EditCompletionEvent DOWN_ARROW_KEYPRESS
      down arrow key.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "arrow_down".

    • TAB_KEYPRESS

      public static final EditCompletionEvent TAB_KEYPRESS
      User pressed Tab.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "tab".

    • SHIFT_TAB_KEYPRESS

      public static final EditCompletionEvent SHIFT_TAB_KEYPRESS
      User pressed Shift+Tab.

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "shift_tab".

    • EDIT_FIELD_CHANGE

      public static final EditCompletionEvent EDIT_FIELD_CHANGE
      Edit moved to a different field (same row)

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "field_change".

    • PROGRAMMATIC

      public static final EditCompletionEvent PROGRAMMATIC
      Edit completed via explicit function call

      If this enumerated value is used in a Component XML file or server-side DataSource descriptor (.ds.xml file), use the value "programmatic".

  • Method Details

    • values

      public static EditCompletionEvent[] 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

      public static EditCompletionEvent 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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Specified by:
      getValue in interface ValueEnum