|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.document.PaperOrientation
public final class PaperOrientation
This class is used to specify the paper orientation of the report.
Field Summary | |
---|---|
static int |
_landscape
Use landscape paper orientation. |
static int |
_portrait
Use portrait paper orientation. |
static int |
_useDefault
Use default paper orientation. |
static PaperOrientation |
landscape
A PaperOrientation object that specifies the use of landscape paper orientation. |
static PaperOrientation |
portrait
A PaperOrientation object that specifies the use of portrait paper orientation. |
static PaperOrientation |
useDefault
A PaperOrientation object that specifies the use of the default paper orientation. |
Method Summary | |
---|---|
static PaperOrientation |
from_int(int i)
Returns the PaperOrientation object corresponding to the specified value. |
static PaperOrientation |
from_string(java.lang.String sVal)
Returns the PaperOrientation object corresponding to the specified type. |
java.lang.String |
toString()
Returns the String value of this PaperOrientation object. |
int |
value()
Returns the int value of this PaperOrientation object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _useDefault
Use default paper orientation.
public static final int _portrait
Use portrait paper orientation.
public static final int _landscape
Use landscape paper orientation.
public static final PaperOrientation useDefault
A PaperOrientation
object that specifies the use of the default paper orientation.
public static final PaperOrientation portrait
A PaperOrientation
object that specifies the use of portrait paper orientation.
public static final PaperOrientation landscape
A PaperOrientation
object that specifies the use of landscape paper orientation.
Method Detail |
---|
public static final PaperOrientation from_int(int i)
Returns the PaperOrientation
object corresponding to the specified value.
i
- The int
value of the desired PaperOrientation
object.
PaperOrientation
object corresponding to the specified value.public static final PaperOrientation from_string(java.lang.String sVal)
Returns the PaperOrientation
object corresponding to the specified type.
sVal
- The String
value of the desired PaperOrientation
object.
PaperOrientation
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this PaperOrientation
object.
toString
in class java.lang.Object
String
value of this PaperOrientation
object.public int value()
Returns the int
value of this PaperOrientation
object.
int
value of this PaperOrientation
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |