Enum Class ClipboardAction

java.lang.Object
java.lang.Enum<ClipboardAction>
com.shaft.enums.internal.ClipboardAction
All Implemented Interfaces:
Serializable, Comparable<ClipboardAction>, Constable

public enum ClipboardAction extends Enum<ClipboardAction>
  • Enum Constant Details

    • COPY

      public static final ClipboardAction COPY
      Copies the selected content to the clipboard.
    • PASTE

      public static final ClipboardAction PASTE
      Pastes the clipboard content at the current cursor position.
    • CUT

      public static final ClipboardAction CUT
      Cuts the selected content and places it on the clipboard.
    • SELECT_ALL

      public static final ClipboardAction SELECT_ALL
      Selects all content in the target element or context.
    • UNSELECT_ALL

      public static final ClipboardAction UNSELECT_ALL
      Clears any active selection in the target element or context.
  • Method Details

    • values

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