Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt
Class PageAttributes.OriginType  view PageAttributes.OriginType download PageAttributes.OriginType.java

java.lang.Object
  extended byjava.awt.AttributeValue
      extended byjava.awt.PageAttributes.OriginType
Enclosing class:
PageAttributes

public static final class PageAttributes.OriginType
extends AttributeValue


Field Summary
private static java.lang.String[] NAMES
           
static PageAttributes.OriginType PHYSICAL
           
static PageAttributes.OriginType PRINTABLE
           
(package private)  int value
          The value of the enumeration.
 
Constructor Summary
private PageAttributes.OriginType(int value)
           
 
Method Summary
 int hashCode()
          Returns the hashcode of this element.
 java.lang.String toString()
          Returns the name of this enumeration element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAMES

private static final java.lang.String[] NAMES

PHYSICAL

public static final PageAttributes.OriginType PHYSICAL

PRINTABLE

public static final PageAttributes.OriginType PRINTABLE

value

final int value
The value of the enumeration. Package visible for speed.

Constructor Detail

PageAttributes.OriginType

private PageAttributes.OriginType(int value)
Method Detail

hashCode

public int hashCode()
Returns the hashcode of this element. This is the index of the element in the enumeration. Note that equals defaults to the == relation.


toString

public java.lang.String toString()
Returns the name of this enumeration element.