java.awt
Class PageAttributes.OriginType
java.lang.Object
java.awt.PageAttributes.OriginType
- Enclosing class:
- PageAttributes
public static final class PageAttributes.OriginType
- extends Object
Method Summary |
int |
hashCode()
Returns the hashcode of this element. |
String |
toString()
Returns the name of this enumeration element. |
PHYSICAL
public static final PageAttributes.OriginType PHYSICAL
PRINTABLE
public static final PageAttributes.OriginType PRINTABLE
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)