aicas logoJamaica 6.1 release 1

java.awt
Class PageAttributes.OriginType

java.lang.Object
  extended by 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
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
 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

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
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.