|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Enum
com.trolltech.qt.core.Qt.FocusPolicy
public static final class Qt.FocusPolicy
This enum type defines the various policies a widget can have with respect to acquiring keyboard focus.
| Field Summary | |
|---|---|
static Qt.FocusPolicy |
ClickFocus
the widget accepts focus by clicking. |
static Qt.FocusPolicy |
NoFocus
the widget does not accept focus. |
static Qt.FocusPolicy |
StrongFocus
the widget accepts focus by both tabbing and clicking. |
static Qt.FocusPolicy |
TabFocus
the widget accepts focus by tabbing. |
static Qt.FocusPolicy |
WheelFocus
like Qt::StrongFocus plus the widget accepts focus by using the mouse wheel. |
| Method Summary | |
|---|---|
static Qt.FocusPolicy |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static Qt.FocusPolicy |
valueOf(java.lang.String name)
|
static Qt.FocusPolicy[] |
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 Qt.FocusPolicy NoFocus
public static final Qt.FocusPolicy TabFocus
public static final Qt.FocusPolicy ClickFocus
public static final Qt.FocusPolicy StrongFocus
public static final Qt.FocusPolicy WheelFocus
Qt::StrongFocus plus the widget accepts focus by using the mouse wheel.
| Method Detail |
|---|
public static Qt.FocusPolicy[] values()
public static Qt.FocusPolicy valueOf(java.lang.String name)
public int value()
value in interface QtEnumeratorpublic static Qt.FocusPolicy resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||