javax.print.attribute.standard
Class SheetCollate

java.lang.Object
  extended by javax.print.attribute.EnumSyntax
      extended by javax.print.attribute.standard.SheetCollate
All Implemented Interfaces:
Serializable, Cloneable, Attribute, DocAttribute, PrintJobAttribute, PrintRequestAttribute

public final class SheetCollate
extends EnumSyntax
implements DocAttribute, PrintRequestAttribute, PrintJobAttribute

The SheetCollate printing attribute specifies whether or not the sheets of each copy in a print job have to be in sequence.

The attribute only makes sense if multiple copies are specified through the Copies printing attribute. If UNCOLLATED is specified every page of a print job is printed for all requested copies before the next page is processed. COLLATED means that for every copy requested the pages have to be printed in sequence.

IPP Compatibility: SheetCollate is not an IPP 1.1 attribute.

See Also:
Serialized Form

Field Summary
static SheetCollate COLLATED
          The sheets of the different copies are collated.
static SheetCollate UNCOLLATED
          The sheets of the different copies are uncollated.
 
Constructor Summary
protected SheetCollate(int value)
          Creates a SheetCollate object.
 
Method Summary
 Class<? extends Attribute> getCategory()
          Returns category of this class.
protected  EnumSyntax[] getEnumValueTable()
          Returns a table with the enumeration values for this object.
 String getName()
          Returns the name of this attribute.
protected  String[] getStringTable()
          Returns a table with the enumeration values represented as strings for this object.
 
Methods inherited from class javax.print.attribute.EnumSyntax
clone, getOffset, getValue, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCOLLATED

public static final SheetCollate UNCOLLATED
The sheets of the different copies are uncollated.


COLLATED

public static final SheetCollate COLLATED
The sheets of the different copies are collated.

Constructor Detail

SheetCollate

protected SheetCollate(int value)
Creates a SheetCollate object.

Parameters:
value - the enum value.
Method Detail

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Specified by:
getCategory in interface Attribute
Returns:
The class SheetCollate itself.

getName

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

Specified by:
getName in interface Attribute
Returns:
The name "sheet-collate".

getStringTable

protected String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Overrides:
getStringTable in class EnumSyntax
Returns:
The enumeration values as strings.

getEnumValueTable

protected EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.

Overrides:
getEnumValueTable in class EnumSyntax
Returns:
The enumeration values.