Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD

## org.jvnet.substance.utils.icon
Enum SubstanceIconFactory.IconKind

    java.lang.Object
      java.lang.Enum<SubstanceIconFactory.IconKind>
          org.jvnet.substance.utils.icon.SubstanceIconFactory.IconKind

All Implemented Interfaces:
  java.io.Serializable, java.lang.Comparable<SubstanceIconFactory.IconKind>

Enclosing class:
  SubstanceIconFactory

    public static enum SubstanceIconFactory.IconKind

extends java.lang.Enum<SubstanceIconFactory.IconKind>

Icon kind of a title pane button.

Author:
  Kirill Grocuhnikov.

Enum Constant Summary
`CLOSE` Icon of a close button.
`MAXIMIZE` Icon of a maximize button.
`MINIMIZE` Icon of a minimize button.
`RESTORE` Icon of a restore button.

Method Summary
`static SubstanceIconFactory.IconKind` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
`static SubstanceIconFactory.IconKind[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

Methods inherited from class java.lang.Enum
`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Enum Constant Detail

### CLOSE

    public static final SubstanceIconFactory.IconKind CLOSE

  Icon of a close button.

### MINIMIZE

    public static final SubstanceIconFactory.IconKind MINIMIZE

  Icon of a minimize button.

### MAXIMIZE

    public static final SubstanceIconFactory.IconKind MAXIMIZE

  Icon of a maximize button.

### RESTORE

    public static final SubstanceIconFactory.IconKind RESTORE

  Icon of a restore button.

Method Detail

### values

    public static SubstanceIconFactory.IconKind[] values()

  Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

      for (SubstanceIconFactory.IconKind c : SubstanceIconFactory.IconKind.values())
          System.out.println(c);

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

### valueOf

    public static SubstanceIconFactory.IconKind 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
    `java.lang.NullPointerException` - if the argument is null

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD