- java.lang.Object
-
- java.awt.JobAttributes.DialogType
-
- Enclosing class:
- JobAttributes
public static final class JobAttributes.DialogType extends Object
A type-safe enumeration of possible dialogs to display to the user.- Since:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description static JobAttributes.DialogType
COMMON
TheDialogType
instance to use for specifying the cross-platform, pure Java print dialog.static JobAttributes.DialogType
NATIVE
TheDialogType
instance to use for specifying the platform's native print dialog.static JobAttributes.DialogType
NONE
TheDialogType
instance to use for specifying no print dialog.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
hashCode()
Answers an integer hash code for the receiver.String
toString()
Answers a string containing a concise, human-readable description of the receiver.
-
-
-
Field Detail
-
COMMON
public static final JobAttributes.DialogType COMMON
TheDialogType
instance to use for specifying the cross-platform, pure Java print dialog.
-
NATIVE
public static final JobAttributes.DialogType NATIVE
TheDialogType
instance to use for specifying the platform's native print dialog.
-
NONE
public static final JobAttributes.DialogType NONE
TheDialogType
instance to use for specifying no print dialog.
-
-
Method Detail
-
hashCode
public int hashCode()
Description copied from class:Object
Answers an integer hash code for the receiver. Any two objects which answertrue
when passed to.equals
must answer the same value for this method.- Overrides:
hashCode
in classObject
- Returns:
- the receiver's hash.
- See Also:
Object.equals(java.lang.Object)
-
-