APIdia Launch Partner
Top Description Fields Constructors Methods
javax.print.attribute.standard

public sealed Class OutputBin

extends EnumSyntax
implements PrintRequestAttribute, PrintJobAttribute
permits CustomOutputBin
Class Inheritance
All Implemented Interfaces
javax.print.attribute.PrintJobAttribute, javax.print.attribute.Attribute, java.io.Serializable, javax.print.attribute.PrintRequestAttribute
Known Direct Subclasses
sun.print.CustomOutputBin
Imports
java.io.Serial, javax.print.attribute.Attribute, .DocAttribute, .EnumSyntax, .PrintJobAttribute, .PrintRequestAttribute, sun.print.CustomOutputBin

Class OutputBin is a printing attribute class, an enumeration, that specifies the output bin for the job.

Class OutputBin declares keywords for standard output bin kind values.

IPP Compatibility: This attribute is not an IPP 1.1 attribute; it is an attribute in the "output-bin" attribute extension ( PDF) of IPP 1.1. The category name returned by getName() is the IPP attribute name. The enumeration's integer value is the IPP enum value. The toString() method returns the IPP string representation of the attribute value.

Since
23

Field Summary

Modifier and TypeField and Description
public static final OutputBin
BOTTOM

The bottom output bin in the printer.

public static final OutputBin
CENTER

The center output bin in the printer.

public static final OutputBin
FACE_DOWN

The face down output bin in the printer.

public static final OutputBin
FACE_UP

The face up output bin in the printer.

public static final OutputBin
LARGE_CAPACITY

The large-capacity output bin in the printer.

public static final OutputBin
LEFT

The left output bin in the printer.

public static final OutputBin
MIDDLE

The middle output bin in the printer.

private static final OutputBin[]
myEnumValueTable

The enumeration value table for class OutputBin.

private static final String[]
myStringTable

The string table for class OutputBin.

public static final OutputBin
REAR

The rear output bin in the printer.

public static final OutputBin
RIGHT

The right output bin in the printer.

private static final long
public static final OutputBin
SIDE

The side output bin in the printer.

public static final OutputBin
TOP

The top output bin in the printer.

Constructor Summary

AccessConstructor and Description
protected
OutputBin(int
Integer value
value
)

Construct a new output bin enumeration value with the given integer value.

Method Summary

Modifier and TypeMethod and Description
public final Class<? extends Attribute>

Returns:

printing attribute class (category), an instance of class java.lang.Class
getCategory
()

Implements javax.print.attribute.Attribute.getCategory.

Get the printing attribute class which is to be used as the "category" for this printing attribute value.

protected EnumSyntax[]
getEnumValueTable()

Overrides javax.print.attribute.EnumSyntax.getEnumValueTable.

Returns the enumeration value table for class OutputBin.

public final String

Returns:

attribute category name
getName
()

Implements javax.print.attribute.Attribute.getName.

Get the name of the category of which this attribute value is an instance.

protected String[]
getStringTable()

Overrides javax.print.attribute.EnumSyntax.getStringTable.

Returns the string table for class OutputBin.

Inherited from javax.print.attribute.EnumSyntax:
clonegetOffsetgetValuehashCodereadResolvetoString

Field Detail

BOTTOMback to summary
public static final OutputBin BOTTOM

The bottom output bin in the printer.

CENTERback to summary
public static final OutputBin CENTER

The center output bin in the printer.

FACE_DOWNback to summary
public static final OutputBin FACE_DOWN

The face down output bin in the printer.

FACE_UPback to summary
public static final OutputBin FACE_UP

The face up output bin in the printer.

LARGE_CAPACITYback to summary
public static final OutputBin LARGE_CAPACITY

The large-capacity output bin in the printer.

LEFTback to summary
public static final OutputBin LEFT

The left output bin in the printer.

MIDDLEback to summary
public static final OutputBin MIDDLE

The middle output bin in the printer.

myEnumValueTableback to summary
private static final OutputBin[] myEnumValueTable

The enumeration value table for class OutputBin.

myStringTableback to summary
private static final String[] myStringTable

The string table for class OutputBin.

REARback to summary
public static final OutputBin REAR

The rear output bin in the printer.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.print.attribute.EnumSyntax.serialVersionUID.

Annotations
@Serial
SIDEback to summary
public static final OutputBin SIDE

The side output bin in the printer.

TOPback to summary
public static final OutputBin TOP

The top output bin in the printer.

Constructor Detail

OutputBinback to summary
protected OutputBin(int value)

Construct a new output bin enumeration value with the given integer value.

Parameters
value:int

Integer value

Method Detail

getCategoryback to summary
public final Class<? extends Attribute> getCategory()

Implements javax.print.attribute.Attribute.getCategory.

Get the printing attribute class which is to be used as the "category" for this printing attribute value.

For class OutputBin and any vendor-defined subclasses, the category is class OutputBin itself.

Returns:Class<? extends Attribute>

printing attribute class (category), an instance of class java.lang.Class

Annotations
@Override
getEnumValueTableback to summary
protected EnumSyntax[] getEnumValueTable()

Overrides javax.print.attribute.EnumSyntax.getEnumValueTable.

Returns the enumeration value table for class OutputBin.

Annotations
@Override
getNameback to summary
public final String getName()

Implements javax.print.attribute.Attribute.getName.

Get the name of the category of which this attribute value is an instance.

For class OutputBin and any vendor-defined subclasses, the category name is "output-bin".

Returns:String

attribute category name

Annotations
@Override
getStringTableback to summary
protected String[] getStringTable()

Overrides javax.print.attribute.EnumSyntax.getStringTable.

Returns the string table for class OutputBin.

Annotations
@Override