Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.defaults
Class JobSheetsDefault  view JobSheetsDefault download JobSheetsDefault.java

java.lang.Object
  extended byjavax.print.attribute.TextSyntax
      extended bygnu.javax.print.ipp.attribute.defaults.JobSheetsDefault
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, gnu.javax.print.ipp.attribute.DefaultValueAttribute, java.io.Serializable

public final class JobSheetsDefault
extends javax.print.attribute.TextSyntax
implements gnu.javax.print.ipp.attribute.DefaultValueAttribute

JobSheetsDefault attribute provides the default value of the printer object for the job-sheets attribute.


Field Summary
static JobSheetsDefault NONE
          No job sheet is the default
static JobSheetsDefault STANDARD
          A job sheet is the default
 
Fields inherited from class javax.print.attribute.TextSyntax
 
Constructor Summary
JobSheetsDefault(java.lang.String value, java.util.Locale locale)
          Creates a JobSheetsDefault object with the given value and locale.
 
Method Summary
 javax.print.attribute.Attribute getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.
 java.lang.Class getCategory()
          Returns category of this class.
 java.lang.String getName()
          Returns the name of this attribute.
 
Methods inherited from class javax.print.attribute.TextSyntax
equals, getLocale, getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final JobSheetsDefault NONE
No job sheet is the default


STANDARD

public static final JobSheetsDefault STANDARD
A job sheet is the default

Constructor Detail

JobSheetsDefault

public JobSheetsDefault(java.lang.String value,
                        java.util.Locale locale)
Creates a JobSheetsDefault object with the given value and locale.

Method Detail

getCategory

public java.lang.Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface javax.print.attribute.Attribute

getName

public java.lang.String getName()
Returns the name of this attribute.

Specified by:
getName in interface javax.print.attribute.Attribute

getAssociatedAttribute

public javax.print.attribute.Attribute getAssociatedAttribute()
Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.

May return null if no value exists in JPS API.

Specified by:
getAssociatedAttribute in interface gnu.javax.print.ipp.attribute.DefaultValueAttribute