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

Quick Search    Search Deep

java.awt
Class PageAttributes.ColorType  view PageAttributes.ColorType download PageAttributes.ColorType.java

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

public static final class PageAttributes.ColorType
extends AttributeValue


Field Summary
static PageAttributes.ColorType COLOR
           
static PageAttributes.ColorType MONOCHROME
           
private static java.lang.String[] NAMES
           
(package private)  int value
          The value of the enumeration.
 
Constructor Summary
private PageAttributes.ColorType(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

COLOR

public static final PageAttributes.ColorType COLOR

MONOCHROME

public static final PageAttributes.ColorType MONOCHROME

value

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

Constructor Detail

PageAttributes.ColorType

private PageAttributes.ColorType(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.