com.crystaldecisions.sdk.occa.report.document
Class PaperOrientation

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.document.PaperOrientation

public final class PaperOrientation
extends java.lang.Object

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

_useDefault

public static final int _useDefault

Use default paper orientation.

See Also:
Constant Field Values

_portrait

public static final int _portrait

Use portrait paper orientation.

See Also:
Constant Field Values

_landscape

public static final int _landscape

Use landscape paper orientation.

See Also:
Constant Field Values

useDefault

public static final PaperOrientation useDefault

A PaperOrientation object that specifies the use of the default paper orientation.


portrait

public static final PaperOrientation portrait

A PaperOrientation object that specifies the use of portrait paper orientation.


landscape

public static final PaperOrientation landscape

A PaperOrientation object that specifies the use of landscape paper orientation.

Method Detail

from_int

public static final PaperOrientation from_int(int i)

Returns the PaperOrientation object corresponding to the specified value.

Parameters:
i - The int value of the desired PaperOrientation object.
Returns:
The PaperOrientation object corresponding to the specified value.

from_string

public static final PaperOrientation from_string(java.lang.String sVal)

Returns the PaperOrientation object corresponding to the specified type.

Parameters:
sVal - The String value of the desired PaperOrientation object.
Returns:
The PaperOrientation object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this PaperOrientation object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this PaperOrientation object.

value

public int value()

Returns the int value of this PaperOrientation object.

Returns:
The int value of this PaperOrientation object.