Enum Class EditTypeEnum

java.lang.Object
java.lang.Enum<EditTypeEnum>
org.eclipse.nebula.widgets.nattable.edit.EditTypeEnum
All Implemented Interfaces:
Serializable, Comparable<EditTypeEnum>, Constable

public enum EditTypeEnum extends Enum<EditTypeEnum>
Enumeration type for specifying how a value should be processed that was entered to an editor by dialog.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Use the value entered into the editor to adjust the value that is currently set in the data model.
    Use the value entered into the editor to decrease the value that is currently set in the data model.
    Use the value entered into the editor to increase the value that is currently set in the data model.
    Use the value entered into the editor without any further transformation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static EditTypeEnum[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SET

      public static final EditTypeEnum SET
      Use the value entered into the editor without any further transformation.
    • INCREASE

      public static final EditTypeEnum INCREASE
      Use the value entered into the editor to increase the value that is currently set in the data model.
    • DECREASE

      public static final EditTypeEnum DECREASE
      Use the value entered into the editor to decrease the value that is currently set in the data model.
    • ADJUST

      public static final EditTypeEnum ADJUST
      Use the value entered into the editor to adjust the value that is currently set in the data model. Using this edit type will take the leading sign into account, so negative entered values will decrease the current value in the data model, positive values will increase it.
  • Method Details

    • values

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