Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.gui
Class QIcon.Mode

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QIcon.Mode

All Implemented Interfaces:
  QtEnumerator, java.io.Serializable, java.lang.Comparable

Enclosing class:
  QIcon

    public static final class QIcon.Mode

extends java.lang.Enum
implements QtEnumerator

This enum type describes the mode for which a pixmap is intended to be used. The currently defined modes are:

See Also:
  Serialized Form

Field Summary
`static QIcon.Mode` | `Active` Display the pixmap when the functionality represented by the icon is available and the user is interacting with the icon, for example, moving the mouse over it or clicking it.
`static QIcon.Mode` | `Disabled` Display the pixmap when the functionality represented by the icon is not available.
`static QIcon.Mode` | `Normal` Display the pixmap when the user is not interacting with the icon, but the functionality represented by the icon is available.
`static QIcon.Mode` | `Selected` Display the pixmap when the item represented by the icon is selected.

Method Summary
`static QIcon.Mode` | `resolve(int value)` Returns the QIcon$Mode constant with the specified `int`.
`int` | `value()` This function should return an integer value for the enum values of the enumeration that implements this interface.
`static QIcon.Mode` | `valueOf(java.lang.String name)`
`static QIcon.Mode[]` | `values()`

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`

Field Detail

### Normal

    public static final QIcon.Mode Normal

  Display the pixmap when the user is not interacting with the icon, but the functionality represented by the icon is available.

### Disabled

    public static final QIcon.Mode Disabled

  Display the pixmap when the functionality represented by the icon is not available.

### Active

    public static final QIcon.Mode Active

  Display the pixmap when the functionality represented by the icon is available and the user is interacting with the icon, for example, moving the mouse over it or clicking it.

### Selected

    public static final QIcon.Mode Selected

  Display the pixmap when the item represented by the icon is selected.

Method Detail

### values

    public static QIcon.Mode[] values()

### valueOf

    public static QIcon.Mode valueOf(java.lang.String name)

### value

    public int value()

  This function should return an integer value for the enum values of the enumeration that implements this interface.

  Specified by:
    `value` in interface `QtEnumerator`

### resolve

    public static QIcon.Mode resolve(int value)

  Returns the QIcon$Mode constant with the specified `int`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD