Fields Summary |
---|
private static final long | serialVersionUID |
public static final OrientationRequested | PORTRAITThe content will be imaged across the short edge of the medium. |
public static final OrientationRequested | LANDSCAPEThe content will be imaged across the long edge of the medium.
Landscape is defined to be a rotation of the print-stream page to be
imaged by +90 degrees with respect to the medium
(i.e. anti-clockwise) from the
portrait orientation. Note: The +90 direction was chosen because
simple finishing on the long edge is the same edge whether portrait or
landscape. |
public static final OrientationRequested | REVERSE_LANDSCAPEThe content will be imaged across the long edge of the medium, but in
the opposite manner from landscape. Reverse-landscape is defined to be
a rotation of the print-stream page to be imaged by -90 degrees with
respect to the medium (i.e. clockwise) from the portrait orientation.
Note: The REVERSE_LANDSCAPE value was added because some
applications rotate landscape -90 degrees from portrait, rather than
+90 degrees. |
public static final OrientationRequested | REVERSE_PORTRAITThe content will be imaged across the short edge of the medium, but in
the opposite manner from portrait. Reverse-portrait is defined to be a
rotation of the print-stream page to be imaged by 180 degrees with
respect to the medium from the portrait orientation. Note: The
REVERSE_PORTRAIT value was added for use with the {@link
Finishings Finishings} attribute in cases where the
opposite edge is desired for finishing a portrait document on simple
finishing devices that have only one finishing position. Thus a
"text/plain" portrait document can be stapled "on the
right" by a simple finishing device as is common use with some
Middle Eastern languages such as Hebrew. |
private static final String[] | myStringTable |
private static final OrientationRequested[] | myEnumValueTable |
Methods Summary |
---|
public final java.lang.Class | getCategory()Get the printing attribute class which is to be used as the "category"
for this printing attribute value.
For class OrientationRequested, the
category is class OrientationRequested itself.
return OrientationRequested.class;
|
protected javax.print.attribute.EnumSyntax[] | getEnumValueTable()Returns the enumeration value table for class OrientationRequested.
return myEnumValueTable;
|
public final java.lang.String | getName()Get the name of the category of which this attribute value is an
instance.
For class OrientationRequested, the
category name is "orientation-requested" .
return "orientation-requested";
|
protected int | getOffset()Returns the lowest integer value used by class OrientationRequested.
return 3;
|
protected java.lang.String[] | getStringTable()Returns the string table for class OrientationRequested.
return myStringTable;
|