java.awt
Class PageAttributes.OriginType

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

public static final class PageAttributes.OriginType
extends Object


Field Summary
static PageAttributes.OriginType PHYSICAL
           
static PageAttributes.OriginType PRINTABLE
           
 
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

PHYSICAL

public static final PageAttributes.OriginType PHYSICAL

PRINTABLE

public static final PageAttributes.OriginType PRINTABLE
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)