java.awt
Class JobAttributes.DestinationType

java.lang.Object
  extended by java.awt.JobAttributes.DestinationType
Enclosing class:
JobAttributes

public static final class JobAttributes.DestinationType
extends Object


Field Summary
static JobAttributes.DestinationType FILE
           
static JobAttributes.DestinationType PRINTER
           
 
Method Summary
 int hashCode()
          Returns the hashcode of this element.
 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

FILE

public static final JobAttributes.DestinationType FILE

PRINTER

public static final JobAttributes.DestinationType PRINTER
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.

Overrides:
hashCode in class Object
Returns:
the hashcode
See Also:
Object.equals(Object), System.identityHashCode(Object)

toString

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

Overrides:
toString in class Object
Returns:
the element name
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)