com.businessobjects.rebean.wi
Class Orientation

java.lang.Object
  extended by com.businessobjects.rebean.wi.Orientation
All Implemented Interfaces:
java.io.Serializable

public final class Orientation
extends java.lang.Object
implements java.io.Serializable

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

Orientation class represents all possible orientations for a page.

See Also:
PageInfo.getOrientation(), Serialized Form

Field Summary
static int _LANDSCAPE
          int value of LANDSCAPE.value()
static int _PORTRAIT
          int value of PORTRAIT.value()
static Orientation LANDSCAPE
          Represents a page orientation.
static Orientation PORTRAIT
          Represents a page orientation.
 
Method Summary
static Orientation fromInt(int value)
          Returns an Orientation instance corresponding to value, or null when value does not correspond to any Orientation
 java.lang.String toString()
          Returns a String representation of this page orientation (for debug purposes)
 int value()
          Returns the int value of this page orientation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_PORTRAIT

public static final int _PORTRAIT
int value of PORTRAIT.value()

See Also:
Constant Field Values

_LANDSCAPE

public static final int _LANDSCAPE
int value of LANDSCAPE.value()

See Also:
Constant Field Values

PORTRAIT

public static final Orientation PORTRAIT
Represents a page orientation.


LANDSCAPE

public static final Orientation LANDSCAPE
Represents a page orientation.

Method Detail

value

public int value()
Returns the int value of this page orientation

Returns:
the int value of this page orientation

toString

public java.lang.String toString()
Returns a String representation of this page orientation (for debug purposes)

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this page orientation (for debug purposes)

fromInt

public static Orientation fromInt(int value)
Returns an Orientation instance corresponding to value, or null when value does not correspond to any Orientation

Returns:
an Orientation instance corresponding to value, or null when value does not correspond to any Orientation