API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. JobState View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      EnumSyntax
          JobState
Implements
 PrintJobAttribute
Subclasses
Description
public class JobState
  JobState is a printing attribute class, an enumeration, that identifies the current state of a print job.
See also:   
Constructors
protected JobState (int value)
  Construct a new job state enumeration value with the given integer value.
Methods
Hide/Show inherited methods
public Object clone () [Inherited From EnumSyntax]
Returns a clone of this enumeration value, which to preserve the semantics of enumeration values is the same object as this enumeration value.
publicfinal Class<Attribute> getCategory ()
  Get the printing attribute class which is to be used as the "category" for this printing attribute value.
protected EnumSyntax getEnumValueTable () [Overrides EnumSyntax]
Returns the enumeration value table for class JobState.
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
protected int getOffset () [Inherited From EnumSyntax]
  Returns the lowest integer value used by this enumeration value's enumeration class.
protected String getStringTable () [Overrides EnumSyntax]
Returns the string table for class JobState.
public int getValue () [Inherited From EnumSyntax]
  Returns this enumeration value's integer value.
public int hashCode () [Inherited From EnumSyntax]
  Returns a hash code value for this enumeration value.
protected Object readResolve () throws ObjectStreamException [Inherited From EnumSyntax]
  During object input, convert this deserialized enumeration instance to the proper enumeration value defined in the enumeration attribute class.
public String toString () [Inherited From EnumSyntax]
Returns a string value corresponding to this enumeration value.
Fields
Hide/Show inherited fields
publicfinalstatic JobState ABORTED
  The job has been aborted by the system (usually while the job was in the PROCESSING or PROCESSING_STOPPED state), the printer has completed aborting the job, and all job status attributes have reached their final values for the job.
publicfinalstatic JobState CANCELED
  The job has been canceled by some human agency, the printer has completed canceling the job, and all job status attributes have reached their final values for the job.
publicfinalstatic JobState COMPLETED
  The job has completed successfully or with warnings or errors after processing, all of the job media sheets have been successfully stacked in the appropriate output bin(s), and all job status attributes have reached their final values for the job.
publicfinalstatic JobState PENDING
The job is a candidate to start processing, but is not yet processing.
publicfinalstatic JobState PENDING_HELD
  The job is not a candidate for processing for any number of reasons but will return to the PENDING state as soon as the reasons are no longer present.
publicfinalstatic JobState PROCESSING
  The job is processing.
publicfinalstatic JobState PROCESSING_STOPPED
  The job has stopped while processing for any number of reasons and will return to the PROCESSING state as soon as the reasons are no longer present.
publicfinalstatic JobState UNKNOWN
The job state is unknown.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar