Enum DragDataAction

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

public enum DragDataAction extends Enum<DragDataAction> implements ValueEnum
What do we do with data that's been dropped into another list?
  • Enum Constant Details

    • NONE

      public static final DragDataAction NONE
      Don't do anything, resulting in the same data being in both lists.

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

    • COPY

      public static final DragDataAction COPY
      Copy the data leaving the original in our list.

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

    • MOVE

      public static final DragDataAction MOVE
      Remove the data from this list so it can be moved into the other list.

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

  • Method Details

    • values

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