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 QAbstractItemView.SelectionMode

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QAbstractItemView.SelectionMode

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

Enclosing class:
  QAbstractItemView

    public static final class QAbstractItemView.SelectionMode

extends java.lang.Enum
implements QtEnumerator

This enum describes the types of selection offered to the user for selecting dates in the calendar.

See also:
  `selectionMode`.

See Also:
  Serialized Form

Field Summary
`static QAbstractItemView.SelectionMode` | `ContiguousSelection`
`static QAbstractItemView.SelectionMode` | `ExtendedSelection`
`static QAbstractItemView.SelectionMode` | `MultiSelection`
`static QAbstractItemView.SelectionMode` | `NoSelection` Dates cannot be selected.
`static QAbstractItemView.SelectionMode` | `SingleSelection` Single dates can be selected.

Method Summary
`static QAbstractItemView.SelectionMode` | `resolve(int value)` Returns the SelectionMode 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 QAbstractItemView.SelectionMode` | `valueOf(java.lang.String name)`
`static QAbstractItemView.SelectionMode[]` | `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

### NoSelection

    public static final QAbstractItemView.SelectionMode NoSelection

  Dates cannot be selected.

### SingleSelection

    public static final QAbstractItemView.SelectionMode SingleSelection

  Single dates can be selected.

### MultiSelection

    public static final QAbstractItemView.SelectionMode MultiSelection

### ExtendedSelection

    public static final QAbstractItemView.SelectionMode ExtendedSelection

### ContiguousSelection

    public static final QAbstractItemView.SelectionMode ContiguousSelection

Method Detail

### values

    public static QAbstractItemView.SelectionMode[] values()

### valueOf

    public static QAbstractItemView.SelectionMode 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 QAbstractItemView.SelectionMode resolve(int value)

  Returns the SelectionMode 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