com.smartgwt.client.types
Enum EditCompletionEvent

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

public enum EditCompletionEvent
extends java.lang.Enum<EditCompletionEvent>
implements ValueEnum

What event / user interaction type caused cell editing to complete.


Enum Constant Summary
ARROW_DOWN
          down arrow key.
ARROW_UP
          Up arrow key pressed.
CLICK
          User started editing another row by clicking on it
CLICK_OUTSIDE
          User clicked outside editor during edit.
DOUBLE_CLICK
          User started editing another row by double clicking
ENTER
          Enter pressed
ESCAPE
          User pressed Escape.
FIELD_CHANGE
          Edit moved to a different field (same row)
PROGRAMMATIC
          Edit completed via explicit function call
SHIFT_TAB
          User pressed Shift+Tab.
TAB
          User pressed Tab.
 
Method Summary
 java.lang.String getValue()
           
static EditCompletionEvent valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EditCompletionEvent[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLICK_OUTSIDE

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


CLICK

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


DOUBLE_CLICK

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


ENTER

public static final EditCompletionEvent ENTER
Enter pressed


ESCAPE

public static final EditCompletionEvent ESCAPE
User pressed Escape.


ARROW_UP

public static final EditCompletionEvent ARROW_UP
Up arrow key pressed.


ARROW_DOWN

public static final EditCompletionEvent ARROW_DOWN
down arrow key.


TAB

public static final EditCompletionEvent TAB
User pressed Tab.


SHIFT_TAB

public static final EditCompletionEvent SHIFT_TAB
User pressed Shift+Tab.


FIELD_CHANGE

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


PROGRAMMATIC

public static final EditCompletionEvent PROGRAMMATIC
Edit completed via explicit function call

Method Detail

values

public static final EditCompletionEvent[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(EditCompletionEvent c : EditCompletionEvent.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static EditCompletionEvent valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getValue

public java.lang.String getValue()
Specified by:
getValue in interface ValueEnum