- java.lang.Object
-
- java.awt.PageAttributes.OrientationRequestedType
-
- Enclosing class:
- PageAttributes
public static final class PageAttributes.OrientationRequestedType extends Object
A type-safe enumeration of possible orientations. These orientations are in partial compliance with IPP 1.1.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static PageAttributes.OrientationRequestedTypeLANDSCAPEThe OrientationRequestedType instance to use for specifying a landscape orientation.static PageAttributes.OrientationRequestedTypePORTRAITThe OrientationRequestedType instance to use for specifying a portrait orientation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthashCode()Answers an integer hash code for the receiver.StringtoString()Answers a string containing a concise, human-readable description of the receiver.
-
-
-
Field Detail
-
PORTRAIT
public static final PageAttributes.OrientationRequestedType PORTRAIT
The OrientationRequestedType instance to use for specifying a portrait orientation.
-
LANDSCAPE
public static final PageAttributes.OrientationRequestedType LANDSCAPE
The OrientationRequestedType instance to use for specifying a landscape orientation.
-
-
Method Detail
-
hashCode
public int hashCode()
Description copied from class:ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method.- Overrides:
hashCodein classObject- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-