|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QPrinter.PrintRange>
com.trolltech.qt.gui.QPrinter.PrintRange
public static enum QPrinter.PrintRange
Used to specify the print range selection option.
Enum Constant Summary | |
---|---|
AllPages
All pages should be printed. |
|
PageRange
The specified page range should be printed. |
|
Selection
Only the selection should be printed. |
Method Summary | |
---|---|
static QPrinter.PrintRange |
resolve(int value)
|
int |
value()
|
static QPrinter.PrintRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QPrinter.PrintRange[] |
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 QPrinter.PrintRange AllPages
All pages should be printed.
public static final QPrinter.PrintRange Selection
Only the selection should be printed.
public static final QPrinter.PrintRange PageRange
The specified page range should be printed.
Method Detail |
---|
public static final QPrinter.PrintRange[] values()
for(QPrinter.PrintRange c : QPrinter.PrintRange.values()) System.out.println(c);
public static QPrinter.PrintRange 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 QPrinter.PrintRange resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |