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 QComboBox.InsertPolicy

    java.lang.Object
      java.lang.Enum
          com.trolltech.qt.gui.QComboBox.InsertPolicy

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

Enclosing class:
  QComboBox

    public static final class QComboBox.InsertPolicy

extends java.lang.Enum
implements QtEnumerator

This enum specifies what the `QComboBox` should do when a new string is entered by the user.

See Also:
  Serialized Form

Field Summary
`static QComboBox.InsertPolicy` | `InsertAfterCurrent` The string is inserted after the current item in the combobox.
`static QComboBox.InsertPolicy` | `InsertAlphabetically` The string is inserted in the alphabetic order in the combobox.
`static QComboBox.InsertPolicy` | `InsertAtBottom` The string will be inserted after the last item in the combobox.
`static QComboBox.InsertPolicy` | `InsertAtCurrent` The current item will be replaced by the string.
`static QComboBox.InsertPolicy` | `InsertAtTop` The string will be inserted as the first item in the combobox.
`static QComboBox.InsertPolicy` | `InsertBeforeCurrent` The string is inserted before the current item in the combobox.
`static QComboBox.InsertPolicy` | `NoInsert` The string will not be inserted into the combobox.

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

### NoInsert

    public static final QComboBox.InsertPolicy NoInsert

  The string will not be inserted into the combobox.

### InsertAtTop

    public static final QComboBox.InsertPolicy InsertAtTop

  The string will be inserted as the first item in the combobox.

### InsertAtCurrent

    public static final QComboBox.InsertPolicy InsertAtCurrent

  The current item will be replaced by the string.

### InsertAtBottom

    public static final QComboBox.InsertPolicy InsertAtBottom

  The string will be inserted after the last item in the combobox.

### InsertAfterCurrent

    public static final QComboBox.InsertPolicy InsertAfterCurrent

  The string is inserted after the current item in the combobox.

### InsertBeforeCurrent

    public static final QComboBox.InsertPolicy InsertBeforeCurrent

  The string is inserted before the current item in the combobox.

### InsertAlphabetically

    public static final QComboBox.InsertPolicy InsertAlphabetically

  The string is inserted in the alphabetic order in the combobox.

Method Detail

### values

    public static QComboBox.InsertPolicy[] values()

### valueOf

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

  Returns the QComboBox$InsertPolicy 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