|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Enum
com.trolltech.qt.gui.QComboBox.InsertPolicy
public static final class QComboBox.InsertPolicy
This enum specifies what the QComboBox
should do when a new string is entered by the user.
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)
|
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 |
---|
public static final QComboBox.InsertPolicy NoInsert
public static final QComboBox.InsertPolicy InsertAtTop
public static final QComboBox.InsertPolicy InsertAtCurrent
public static final QComboBox.InsertPolicy InsertAtBottom
public static final QComboBox.InsertPolicy InsertAfterCurrent
public static final QComboBox.InsertPolicy InsertBeforeCurrent
public static final QComboBox.InsertPolicy InsertAlphabetically
Method Detail |
---|
public static QComboBox.InsertPolicy[] values()
public static QComboBox.InsertPolicy valueOf(java.lang.String name)
public int value()
value
in interface QtEnumerator
public static QComboBox.InsertPolicy resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |