Module java.desktop
Package java.awt

Class 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
    • Method Detail

      • hashCode

        public int hashCode()
        Description copied from class: Object
        Answers an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.
        Overrides:
        hashCode in class Object
        Returns:
        the receiver's hash.
        See Also:
        Object.equals(java.lang.Object)
      • toString

        public String toString()
        Description copied from class: Object
        Answers a string containing a concise, human-readable description of the receiver.
        Overrides:
        toString in class Object
        Returns:
        String a printable representation for the receiver.