|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QStyleOptionMenuItem.CheckType>
com.trolltech.qt.gui.QStyleOptionMenuItem.CheckType
public static enum QStyleOptionMenuItem.CheckType
This enum is used to indicate whether or not a check mark should be drawn for the item, or even if it should be drawn at all.
Enum Constant Summary | |
---|---|
Exclusive
The item is an exclusive check item (like a radio button). |
|
NonExclusive
The item is a non-exclusive check item (like a check box). |
|
NotCheckable
The item is not checkable. |
Method Summary | |
---|---|
static QStyleOptionMenuItem.CheckType |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QStyleOptionMenuItem.CheckType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QStyleOptionMenuItem.CheckType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QStyleOptionMenuItem.CheckType NotCheckable
The item is not checkable.
public static final QStyleOptionMenuItem.CheckType Exclusive
The item is an exclusive check item (like a radio button).
public static final QStyleOptionMenuItem.CheckType NonExclusive
The item is a non-exclusive check item (like a check box).
Method Detail |
---|
public static final QStyleOptionMenuItem.CheckType[] values()
for(QStyleOptionMenuItem.CheckType c : QStyleOptionMenuItem.CheckType.values()) System.out.println(c);
public static QStyleOptionMenuItem.CheckType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QStyleOptionMenuItem.CheckType resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |