- java.lang.Object
-
- java.awt.JobAttributes.DefaultSelectionType
-
- Enclosing class:
- JobAttributes
public static final class JobAttributes.DefaultSelectionType extends Object
A type-safe enumeration of possible default selection states.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static JobAttributes.DefaultSelectionTypeALLTheDefaultSelectionTypeinstance to use for specifying that all pages of the job should be printed.static JobAttributes.DefaultSelectionTypeRANGETheDefaultSelectionTypeinstance to use for specifying that a range of pages of the job should be printed.static JobAttributes.DefaultSelectionTypeSELECTIONTheDefaultSelectionTypeinstance to use for specifying that the current selection should be printed.
-
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
-
ALL
public static final JobAttributes.DefaultSelectionType ALL
TheDefaultSelectionTypeinstance to use for specifying that all pages of the job should be printed.
-
RANGE
public static final JobAttributes.DefaultSelectionType RANGE
TheDefaultSelectionTypeinstance to use for specifying that a range of pages of the job should be printed.
-
SELECTION
public static final JobAttributes.DefaultSelectionType SELECTION
TheDefaultSelectionTypeinstance to use for specifying that the current selection should be printed.
-
-
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)
-
-