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 QHeaderView.ResizeMode

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QHeaderView.ResizeMode

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

Enclosing class:
  QHeaderView

    public static final class QHeaderView.ResizeMode

extends java.lang.Enum
implements QtEnumerator

The resize mode specifies the behavior of the header sections. It can be set on the entire header view or on individual sections using `setResizeMode()`. The following values are obsolete:

See also:
  `setResizeMode()`, `stretchLastSection`, and `minimumSectionSize`.

See Also:
  Serialized Form

Field Summary
`static QHeaderView.ResizeMode` | `Fixed` The user cannot resize the section.
`static QHeaderView.ResizeMode` | `Interactive` The user can resize the section.
`static QHeaderView.ResizeMode` | `ResizeToContents` `QHeaderView` will automatically resize the section to its optimal size based on the contents of the entire column or row.
`static QHeaderView.ResizeMode` | `Stretch` `QHeaderView` will automatically resize the section to fill the available space.

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

### Interactive

    public static final QHeaderView.ResizeMode Interactive

  The user can resize the section. The section can also be resized programmatically using `resizeSection()`. The section size defaults to `defaultSectionSize`. (See also `cascadingSectionResizes`.)

### Stretch

    public static final QHeaderView.ResizeMode Stretch

  `QHeaderView` will automatically resize the section to fill the available space. The size cannot be changed by the user or programmatically.

### Fixed

    public static final QHeaderView.ResizeMode Fixed

  The user cannot resize the section. The section can only be resized programmatically using `resizeSection()`. The section size defaults to `defaultSectionSize`.

### ResizeToContents

    public static final QHeaderView.ResizeMode ResizeToContents

  `QHeaderView` will automatically resize the section to its optimal size based on the contents of the entire column or row. The size cannot be changed by the user or programmatically. (This value was introduced in 4.2)

Method Detail

### values

    public static QHeaderView.ResizeMode[] values()

### valueOf

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

  Returns the QHeaderView$ResizeMode 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