|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QCalendarWidget.SelectionMode>
com.trolltech.qt.gui.QCalendarWidget.SelectionMode
public static enum QCalendarWidget.SelectionMode
This enum describes the types of selection offered to the user for selecting dates in the calendar.
Enum Constant Summary | |
---|---|
NoSelection
Dates cannot be selected. |
|
SingleSelection
Single dates can be selected. |
Method Summary | |
---|---|
static QCalendarWidget.SelectionMode |
resolve(int value)
|
int |
value()
|
static QCalendarWidget.SelectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QCalendarWidget.SelectionMode[] |
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 QCalendarWidget.SelectionMode NoSelection
Dates cannot be selected.
public static final QCalendarWidget.SelectionMode SingleSelection
Single dates can be selected.
Method Detail |
---|
public static final QCalendarWidget.SelectionMode[] values()
for(QCalendarWidget.SelectionMode c : QCalendarWidget.SelectionMode.values()) System.out.println(c);
public static QCalendarWidget.SelectionMode 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()
value
in interface QtEnumerator
public static QCalendarWidget.SelectionMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |