Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.supported
Class SidesSupported  view SidesSupported download SidesSupported.java

java.lang.Object
  extended byjavax.print.attribute.EnumSyntax
      extended bygnu.javax.print.ipp.attribute.supported.SidesSupported
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, java.io.Serializable, javax.print.attribute.SupportedValuesAttribute

public final class SidesSupported
extends javax.print.attribute.EnumSyntax
implements javax.print.attribute.SupportedValuesAttribute

SidesSupported provides the supported values for the sides attribute.


Field Summary
static SidesSupported DUPLEX
          An alias constant for "two sided long edge".
private static SidesSupported[] enumValueTable
           
static SidesSupported ONE_SIDED
          Specifies that each page should be printed on one sheet.
private static java.lang.String[] stringTable
           
static SidesSupported TUMBLE
          An alias constant for "two sided short edge".
static SidesSupported TWO_SIDED_LONG_EDGE
          Specifies that two following pages should be printed on the front and back of one sheet for binding on the long edge.
static SidesSupported TWO_SIDED_SHORT_EDGE
          Specifies that two following pages should be printed on the front and back of one sheet for binding on the short edge.
 
Fields inherited from class javax.print.attribute.EnumSyntax
 
Constructor Summary
protected SidesSupported(int value)
          Creates a SidesSupported object.
 
Method Summary
 java.lang.Class getCategory()
          Returns category of this class.
protected  javax.print.attribute.EnumSyntax[] getEnumValueTable()
          Returns a table with the enumeration values for this object.
 java.lang.String getName()
          Returns the name of this attribute.
protected  java.lang.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

ONE_SIDED

public static final SidesSupported ONE_SIDED
Specifies that each page should be printed on one sheet.


TWO_SIDED_LONG_EDGE

public static final SidesSupported TWO_SIDED_LONG_EDGE
Specifies that two following pages should be printed on the front and back of one sheet for binding on the long edge.


TWO_SIDED_SHORT_EDGE

public static final SidesSupported TWO_SIDED_SHORT_EDGE
Specifies that two following pages should be printed on the front and back of one sheet for binding on the short edge.


DUPLEX

public static final SidesSupported DUPLEX
An alias constant for "two sided long edge".


TUMBLE

public static final SidesSupported TUMBLE
An alias constant for "two sided short edge".


stringTable

private static final java.lang.String[] stringTable

enumValueTable

private static final SidesSupported[] enumValueTable
Constructor Detail

SidesSupported

protected SidesSupported(int value)
Creates a SidesSupported object.

Method Detail

getCategory

public java.lang.Class getCategory()
Returns category of this class.

Specified by:
getCategory in interface javax.print.attribute.Attribute

getName

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

Specified by:
getName in interface javax.print.attribute.Attribute

getStringTable

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


getEnumValueTable

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