com.trolltech.qt.gui
Class QPrinter.PageOrder

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.gui.QPrinter.PageOrder
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QPrinter

public static final class QPrinter.PageOrder
extends java.lang.Enum
implements QtEnumerator

This enum type is used by QPrinter to tell the application program how to print.

See Also:
Serialized Form

Field Summary
static QPrinter.PageOrder FirstPageFirst
          the lowest-numbered page should be printed first.
static QPrinter.PageOrder LastPageFirst
          the highest-numbered page should be printed first.
 
Method Summary
static QPrinter.PageOrder resolve(int value)
          Returns the QPrinter$PageOrder constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QPrinter.PageOrder valueOf(java.lang.String name)
           
static QPrinter.PageOrder[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FirstPageFirst

public static final QPrinter.PageOrder FirstPageFirst
the lowest-numbered page should be printed first.


LastPageFirst

public static final QPrinter.PageOrder LastPageFirst
the highest-numbered page should be printed first.

Method Detail

values

public static QPrinter.PageOrder[] values()

valueOf

public static QPrinter.PageOrder valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QPrinter.PageOrder resolve(int value)
Returns the QPrinter$PageOrder constant with the specified int.