public static final class PageAttributes.OrientationRequestedType extends Object
Modifier and Type | Field and Description |
---|---|
static PageAttributes.OrientationRequestedType |
LANDSCAPE
The OrientationRequestedType instance to use for specifying a
landscape orientation.
|
static PageAttributes.OrientationRequestedType |
PORTRAIT
The OrientationRequestedType instance to use for specifying a
portrait orientation.
|
Modifier and Type | Method and 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.
|
public static final PageAttributes.OrientationRequestedType PORTRAIT
public static final PageAttributes.OrientationRequestedType LANDSCAPE
public int hashCode()
Object
true
when passed to
.equals
must answer the same value for this
method.hashCode
in class Object
Object.equals(java.lang.Object)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.