Enum Class Actions.Style

java.lang.Object
java.lang.Enum<Actions.Style>
com.diffplug.common.swt.jface.Actions.Style
All Implemented Interfaces:
Serializable, Comparable<Actions.Style>, Constable
Enclosing class:
Actions

public static enum Actions.Style extends Enum<Actions.Style>
Style enum for various kinds of IAction.
  • Enum Constant Details

  • Field Details

    • jfaceStyle

      public final int jfaceStyle
  • Method Details

    • values

      public static Actions.Style[] 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 Actions.Style 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
    • of

      public static Actions.Style of(IAction action)
      Returns the Style of the given IAction.