|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.print.attribute.EnumSyntax
javax.print.attribute.standard.Sides
public final class Sides
The Sides
printing attribute specifies how consecutive
printing pages are arranged on the media sheet.
IPP Compatibility: Sides is an IPP 1.1 attribute.
Field Summary | |
---|---|
static Sides |
DUPLEX
An alias constant for "two sided long edge". |
static Sides |
ONE_SIDED
Specifies that each page should be printed on one sheet. |
static Sides |
TUMBLE
An alias constant for "two sided short edge". |
static Sides |
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 Sides |
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. |
Constructor Summary | |
---|---|
protected |
Sides(int value)
Creates a Sides object. |
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 |
---|
public static final Sides ONE_SIDED
public static final Sides TWO_SIDED_LONG_EDGE
public static final Sides TWO_SIDED_SHORT_EDGE
public static final Sides DUPLEX
public static final Sides TUMBLE
Constructor Detail |
---|
protected Sides(int value)
Sides
object.
value
- the number of sidesMethod Detail |
---|
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
Sides
itself.public String getName()
getName
in interface Attribute
protected String[] getStringTable()
getStringTable
in class EnumSyntax
protected EnumSyntax[] getEnumValueTable()
getEnumValueTable
in class EnumSyntax
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |