aicas logoJamaica 6.1 release 1

java.awt
Class PageAttributes.OrientationRequestedType

java.lang.Object
  extended by 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
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.
 
Method Summary
 int hashCode()
          hashCode returns a hash code for this object.
 String toString()
          toString creates a printable string that represents this object for debugging purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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: Object
hashCode returns a hash code for this object. The hash code must be equal for two objects a and b if a.equals(b) is true.

The default implementation returns System.identityHashCode(this).

Overrides:
hashCode in class Object
Returns:
a hash code value.

toString

public String toString()
Description copied from class: Object
toString creates a printable string that represents this object for debugging purposes.

The default implementation returns getClass().getName() + '@' + Integer.toHexString(hashCode()).

Overrides:
toString in class Object
Returns:
a string identifying this object.

aicas logoJamaica 6.1 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2012 aicas GmbH. All Rights Reserved.