|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QRegion.RegionType>
com.trolltech.qt.gui.QRegion.RegionType
public static enum QRegion.RegionType
Specifies the shape of the region to be created.
Enum Constant Summary | |
---|---|
Ellipse
the region is an ellipse inside the rectangle. |
|
Rectangle
the region covers the entire rectangle. |
Method Summary | |
---|---|
static QRegion.RegionType |
resolve(int value)
|
int |
value()
|
static QRegion.RegionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QRegion.RegionType[] |
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 QRegion.RegionType Rectangle
the region covers the entire rectangle.
public static final QRegion.RegionType Ellipse
the region is an ellipse inside the rectangle.
Method Detail |
---|
public static final QRegion.RegionType[] values()
for(QRegion.RegionType c : QRegion.RegionType.values()) System.out.println(c);
public static QRegion.RegionType 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 QRegion.RegionType resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |