|
|||||||||
Home >> All >> gnu >> javax >> print >> ipp >> attribute >> [ defaults overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
gnu.javax.print.ipp.attribute.defaults
Class SidesDefault

java.lang.Objectjavax.print.attribute.EnumSyntax
gnu.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
- extends javax.print.attribute.EnumSyntax
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 interfacejavax.print.attribute.Attribute
getName
public java.lang.String getName()
- Returns the name of this attribute.
- Specified by:
getName
in interfacejavax.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 interfacegnu.javax.print.ipp.attribute.DefaultValueAttribute
|
|||||||||
Home >> All >> gnu >> javax >> print >> ipp >> attribute >> [ defaults overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |