|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Page.PageOrientation>
ca.sqlpower.wabit.report.Page.PageOrientation
public static enum Page.PageOrientation
Indicates the transformation that should be applied when this page is rendered. Portrait is normal (the identity transform), landscape is rotated 90 degrees clockwise, and reverse landscape is rotated 90 degrees counterclockwise.
The orientation doesn't affect what width and height the page reports having; it simply prescribes which direction should be "up" for rendered content.
| Enum Constant Summary | |
|---|---|
LANDSCAPE
|
|
PORTRAIT
|
|
REVERSE_LANDSCAPE
|
|
| Method Summary | |
|---|---|
static Page.PageOrientation |
forPrintApiCode(int apiCode)
|
int |
getPrintApiCode()
Returns the correct integer code for this orientation in the Java Print API. |
static Page.PageOrientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Page.PageOrientation[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Page.PageOrientation PORTRAIT
public static final Page.PageOrientation LANDSCAPE
public static final Page.PageOrientation REVERSE_LANDSCAPE
| Method Detail |
|---|
public static final Page.PageOrientation[] values()
for(Page.PageOrientation c : Page.PageOrientation.values())
System.out.println(c);
public static Page.PageOrientation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int getPrintApiCode()
public static Page.PageOrientation forPrintApiCode(int apiCode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||