javax.print.attribute.standard
Class PresentationDirection

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

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.

See Also:
Serialized Form

Field Summary
static PresentationDirection TOBOTTOM_TOLEFT
          The single pages are arranged on the media in columns starting at the top right towards the bottom left.
static PresentationDirection TOBOTTOM_TORIGHT
          The single pages are arranged on the media in columns starting at the top left towards the bottom left.
static PresentationDirection TOLEFT_TOBOTTOM
          The single pages are arranged on the media in rows starting at the top right towards the left bottom.
static PresentationDirection TOLEFT_TOTOP
          The single pages are arranged on the media in rows starting at the bottom right towards the left top.
static PresentationDirection TORIGHT_TOBOTTOM
          The single pages are arranged on the media in rows starting at the top left towards the right bottom.
static PresentationDirection TORIGHT_TOTOP
          The single pages are arranged on the media in rows starting at the bottom left towards the right top.
static PresentationDirection TOTOP_TOLEFT
          The single pages are arranged on the media in columns starting at the bottom right towards the top left.
static PresentationDirection TOTOP_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.
 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

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.


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.


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.


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.


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.


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.

Method Detail

getCategory

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

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

getName

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

Specified by:
getName in interface Attribute
Returns:
The name "presentation-direction".

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.