API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.print.attribute.standard. Sides View Source
Author(s)
Alan Kaminsky
Since
Version
Serial
Hierarchy
 Object
      EnumSyntax
          Sides
Implements
 DocAttribute
 PrintRequestAttribute
 PrintJobAttribute
Subclasses
Description
publicfinal class Sides
  Class Sides is a printing attribute class, an enumeration, that specifies how print-stream pages are to be imposed upon the sides of an instance of a selected medium, i.e., an impression.
See also:   
Constructors
protected Sides (int value)
  Construct a new sides enumeration value with the given integer value.
Methods
Hide/Show inherited methods
public Object clone () [Inherited From EnumSyntax]
Returns a clone of this enumeration value, which to preserve the semantics of enumeration values is the same object as this enumeration value.
publicfinal Class<Attribute> getCategory ()
  Get the printing attribute class which is to be used as the "category" for this printing attribute value.
protected EnumSyntax getEnumValueTable () [Overrides EnumSyntax]
Returns the enumeration value table for class Sides.
publicfinal String getName ()
  Get the name of the category of which this attribute value is an instance.
protected int getOffset () [Inherited From EnumSyntax]
  Returns the lowest integer value used by this enumeration value's enumeration class.
protected String getStringTable () [Overrides EnumSyntax]
Returns the string table for class Sides.
public int getValue () [Inherited From EnumSyntax]
  Returns this enumeration value's integer value.
public int hashCode () [Inherited From EnumSyntax]
  Returns a hash code value for this enumeration value.
protected Object readResolve () throws ObjectStreamException [Inherited From EnumSyntax]
  During object input, convert this deserialized enumeration instance to the proper enumeration value defined in the enumeration attribute class.
public String toString () [Inherited From EnumSyntax]
Returns a string value corresponding to this enumeration value.
Fields
Hide/Show inherited fields
publicfinalstatic Sides DUPLEX
An alias for "two sided long edge" (see TWO_SIDED_LONG_EDGE).
publicfinalstatic Sides ONE_SIDED
Imposes each consecutive print-stream page upon the same side of consecutive media sheets.
publicfinalstatic Sides TUMBLE
An alias for "two sided short edge" (see TWO_SIDED_SHORT_EDGE).
publicfinalstatic Sides TWO_SIDED_LONG_EDGE
  Imposes each consecutive pair of print-stream pages upon front and back sides of consecutive media sheets, such that the orientation of each pair of print-stream pages on the medium would be correct for the reader as if for binding on the long edge.
publicfinalstatic Sides TWO_SIDED_SHORT_EDGE
  Imposes each consecutive pair of print-stream pages upon front and back sides of consecutive media sheets, such that the orientation of each pair of print-stream pages on the medium would be correct for the reader as if for binding on the short edge.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar