- java.lang.Object
-
- java.awt.JobAttributes.DestinationType
-
- Enclosing class:
- JobAttributes
public static final class JobAttributes.DestinationType extends Object
A type-safe enumeration of possible job destinations.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static JobAttributes.DestinationTypeFILETheDestinationTypeinstance to use for specifying print to file.static JobAttributes.DestinationTypePRINTERTheDestinationTypeinstance to use for specifying print to printer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description inthashCode()Answers an integer hash code for the receiver.StringtoString()Answers a string containing a concise, human-readable description of the receiver.
-
-
-
Field Detail
-
FILE
public static final JobAttributes.DestinationType FILE
TheDestinationTypeinstance to use for specifying print to file.
-
PRINTER
public static final JobAttributes.DestinationType PRINTER
TheDestinationTypeinstance to use for specifying print to printer.
-
-
Method Detail
-
hashCode
public int hashCode()
Description copied from class:ObjectAnswers an integer hash code for the receiver. Any two objects which answertruewhen passed to.equalsmust answer the same value for this method.- Overrides:
hashCodein classObject- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-