java.awt
Class PageAttributes.OrientationRequestedType

java.lang.Object
  extended by java.awt.PageAttributes.OrientationRequestedType
Enclosing class:
PageAttributes

public static final class PageAttributes.OrientationRequestedType
extends Object


Field Summary
static PageAttributes.OrientationRequestedType LANDSCAPE
           
static PageAttributes.OrientationRequestedType PORTRAIT
           
 
Method Summary
 int hashCode()
          Returns the hashcode of this element.
 String toString()
          Returns the name of this enumeration element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PORTRAIT

public static final PageAttributes.OrientationRequestedType PORTRAIT

LANDSCAPE

public static final PageAttributes.OrientationRequestedType LANDSCAPE
Method Detail

hashCode

public int hashCode()
Returns the hashcode of this element. This is the index of the element in the enumeration. Note that equals defaults to the == relation.

Overrides:
hashCode in class Object
Returns:
the hashcode
See Also:
Object.equals(Object), System.identityHashCode(Object)

toString

public String toString()
Returns the name of this enumeration element.

Overrides:
toString in class Object
Returns:
the element name
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)