aicas logoJamaica 6.1 release 1

java.awt
Class PageAttributes.ColorType

java.lang.Object
  extended by java.awt.PageAttributes.ColorType
Enclosing class:
PageAttributes

public static final class PageAttributes.ColorType
extends Object

A type-safe enumeration of possible color states.

Since:
1.3

Field Summary
static PageAttributes.ColorType COLOR
          The ColorType instance to use for specifying color printing.
static PageAttributes.ColorType MONOCHROME
          The ColorType instance to use for specifying monochrome printing.
 
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

COLOR

public static final PageAttributes.ColorType COLOR
The ColorType instance to use for specifying color printing.


MONOCHROME

public static final PageAttributes.ColorType MONOCHROME
The ColorType instance to use for specifying monochrome printing.

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.