javax.print.attribute.standard

Class PresentationDirection

public final class PresentationDirection extends EnumSyntax implements PrintRequestAttribute, PrintJobAttribute

The PresentationDirection attribute specifies a value to be used together with the NumberUp attribute to indicate the layout of multiple pages on a single media sheet.

IPP Compatibility: PresentationDirection is not an IPP 1.1 attribute.

Field Summary
static PresentationDirectionTOBOTTOM_TOLEFT
The single pages are arranged on the media in columns starting at the top right towards the bottom left.
static PresentationDirectionTOBOTTOM_TORIGHT
The single pages are arranged on the media in columns starting at the top left towards the bottom left.
static PresentationDirectionTOLEFT_TOBOTTOM
The single pages are arranged on the media in rows starting at the top right towards the left bottom.
static PresentationDirectionTOLEFT_TOTOP
The single pages are arranged on the media in rows starting at the bottom right towards the left top.
static PresentationDirectionTORIGHT_TOBOTTOM
The single pages are arranged on the media in rows starting at the top left towards the right bottom.
static PresentationDirectionTORIGHT_TOTOP
The single pages are arranged on the media in rows starting at the bottom left towards the right top.
static PresentationDirectionTOTOP_TOLEFT
The single pages are arranged on the media in columns starting at the bottom right towards the top left.
static PresentationDirectionTOTOP_TORIGHT
The single pages are arranged on the media in columns starting at the bottom left towards the top right.
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

TOBOTTOM_TOLEFT

public static final PresentationDirection TOBOTTOM_TOLEFT
The single pages are arranged on the media in columns starting at the top right towards the bottom left.

TOBOTTOM_TORIGHT

public static final PresentationDirection TOBOTTOM_TORIGHT
The single pages are arranged on the media in columns starting at the top left towards the bottom left.

TOLEFT_TOBOTTOM

public static final PresentationDirection TOLEFT_TOBOTTOM
The single pages are arranged on the media in rows starting at the top right towards the left bottom.

TOLEFT_TOTOP

public static final PresentationDirection TOLEFT_TOTOP
The single pages are arranged on the media in rows starting at the bottom right towards the left top.

TORIGHT_TOBOTTOM

public static final PresentationDirection TORIGHT_TOBOTTOM
The single pages are arranged on the media in rows starting at the top left towards the right bottom.

TORIGHT_TOTOP

public static final PresentationDirection TORIGHT_TOTOP
The single pages are arranged on the media in rows starting at the bottom left towards the right top.

TOTOP_TOLEFT

public static final PresentationDirection TOTOP_TOLEFT
The single pages are arranged on the media in columns starting at the bottom right towards the top left.

TOTOP_TORIGHT

public static final PresentationDirection TOTOP_TORIGHT
The single pages are arranged on the media in columns starting at the bottom left towards the top right.

Method Detail

getCategory

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

Returns: The class PresentationDirection 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 "presentation-direction".

getStringTable

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

Returns: The enumeration values as strings.