Module java.desktop
Package java.awt

Class JobAttributes.DefaultSelectionType

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 Details

    • ALL

      public static final JobAttributes.DefaultSelectionType ALL
      The DefaultSelectionType instance to use for specifying that all pages of the job should be printed.
    • RANGE

      public static final JobAttributes.DefaultSelectionType RANGE
      The DefaultSelectionType instance to use for specifying that a range of pages of the job should be printed.
    • SELECTION

      public static final JobAttributes.DefaultSelectionType SELECTION
      The DefaultSelectionType instance to use for specifying that the current selection should be printed.
  • Method Details

    • hashCode

      public int hashCode()
      Description copied from class: Object
      Answers an integer hash code for the receiver. Any two objects which answer true when passed to .equals must answer the same value for this method.
      Overrides:
      hashCode in class Object
      Returns:
      the receiver's hash.
      See Also:
    • toString

      public String toString()
      Description copied from class: Object
      Answers a string containing a concise, human-readable description of the receiver.
      Overrides:
      toString in class Object
      Returns:
      String a printable representation for the receiver.