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

Quick Search    Search Deep

gnu.javax.print.ipp.attribute.defaults
Class SidesDefault  view SidesDefault download SidesDefault.java

java.lang.Object
  extended byjavax.print.attribute.EnumSyntax
      extended bygnu.javax.print.ipp.attribute.defaults.SidesDefault
All Implemented Interfaces:
javax.print.attribute.Attribute, java.lang.Cloneable, gnu.javax.print.ipp.attribute.DefaultValueAttribute, java.io.Serializable

public final class SidesDefault
extends javax.print.attribute.EnumSyntax
implements gnu.javax.print.ipp.attribute.DefaultValueAttribute

SidesDefault provides the default for the sides attribute.


Field Summary
static SidesDefault DUPLEX
          An alias constant for "two sided long edge".
private static SidesDefault[] enumValueTable
           
static SidesDefault ONE_SIDED
          Specifies that each page should be printed on one sheet.
private static java.lang.String[] stringTable
           
static SidesDefault TUMBLE
          An alias constant for "two sided short edge".
static SidesDefault 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 SidesDefault 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 SidesDefault(int value)
          Creates a SidesDefault object.
 
Method Summary
 javax.print.attribute.Attribute getAssociatedAttribute()
          Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.
 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 SidesDefault ONE_SIDED
Specifies that each page should be printed on one sheet.


TWO_SIDED_LONG_EDGE

public static final SidesDefault 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 SidesDefault 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 SidesDefault DUPLEX
An alias constant for "two sided long edge".


TUMBLE

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


stringTable

private static final java.lang.String[] stringTable

enumValueTable

private static final SidesDefault[] enumValueTable
Constructor Detail

SidesDefault

protected SidesDefault(int value)
Creates a SidesDefault 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.


getAssociatedAttribute

public javax.print.attribute.Attribute getAssociatedAttribute()
Returns the equally enum of the standard attribute class of this DefaultValuesAttribute enum.

Specified by:
getAssociatedAttribute in interface gnu.javax.print.ipp.attribute.DefaultValueAttribute