|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Qt.Corner>
com.trolltech.qt.core.Qt.Corner
public static enum Qt.Corner
This enum type specifies a corner in a rectangle.
Constant | Value | Description |
---|---|---|
TopLeftCorner | 0 | The top-left corner of the rectangle. |
TopRightCorner | 1 | The top-right corner of the rectangle. |
BottomLeftCorner | 2 | The bottom-left corner of the rectangle. |
BottomRightCorner | 3 | The bottom-right corner of the rectangle. |
Enum Constant Summary | |
---|---|
BottomLeftCorner
The bottom-left corner of the rectangle. |
|
BottomRightCorner
The bottom-right corner of the rectangle. |
|
TopLeftCorner
The top-left corner of the rectangle. |
|
TopRightCorner
The top-right corner of the rectangle. |
Method Summary | |
---|---|
static Qt.Corner |
resolve(int value)
|
int |
value()
|
static Qt.Corner |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Qt.Corner[] |
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 Qt.Corner TopLeftCorner
The top-left corner of the rectangle.
public static final Qt.Corner TopRightCorner
The top-right corner of the rectangle.
public static final Qt.Corner BottomLeftCorner
The bottom-left corner of the rectangle.
public static final Qt.Corner BottomRightCorner
The bottom-right corner of the rectangle.
Method Detail |
---|
public static final Qt.Corner[] values()
for(Qt.Corner c : Qt.Corner.values()) System.out.println(c);
public static Qt.Corner 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 Qt.Corner resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |