- java.lang.Object
-
- java.awt.PageAttributes.OriginType
-
- Enclosing class:
- PageAttributes
public static final class PageAttributes.OriginType extends Object
A type-safe enumeration of possible origins.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static PageAttributes.OriginType
PHYSICAL
The OriginType instance to use for specifying a physical origin.static PageAttributes.OriginType
PRINTABLE
The OriginType instance to use for specifying a printable origin.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hashCode()
Answers an integer hash code for the receiver.String
toString()
Answers a string containing a concise, human-readable description of the receiver.
-
-
-
Field Detail
-
PHYSICAL
public static final PageAttributes.OriginType PHYSICAL
The OriginType instance to use for specifying a physical origin.
-
PRINTABLE
public static final PageAttributes.OriginType PRINTABLE
The OriginType instance to use for specifying a printable origin.
-
-
Method Detail
-
hashCode
public int hashCode()
Description copied from class:Object
Answers an integer hash code for the receiver. Any two objects which answertrue
when passed to.equals
must answer the same value for this method.- Overrides:
hashCode
in classObject
- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-