javax.print.attribute.standard

Class SheetCollate

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.

Field Summary
static SheetCollateCOLLATED
The sheets of the different copies are collated.
static SheetCollateUNCOLLATED
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.
StringgetName()
Returns the name of this attribute.
protected String[]getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Field Detail

COLLATED

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

UNCOLLATED

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

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.

Returns: The class SheetCollate itself.

getEnumValueTable

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

Returns: The enumeration values.

getName

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

Returns: The name "sheet-collate".

getStringTable

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

Returns: The enumeration values as strings.