com.crystaldecisions.sdk.occa.report.definition
Class ZoomMode

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.ZoomMode

public final class ZoomMode
extends java.lang.Object

Defines zoom modes that can be used to view a report.

See Also:
IReportOptions.setZoomMode(ZoomMode)

Field Summary
static int _fitBothSides
           
static int _fitFullSize
           
static int _fitOneSide
           
static java.lang.String FIT_BOTH_SIDES
           
static java.lang.String FIT_FULL_SIZE
           
static java.lang.String FIT_ONE_SIDE
           
static ZoomMode fitBothSides
           
static ZoomMode fitFullSize
           
static ZoomMode fitOneSide
           
 
Method Summary
static ZoomMode from_int(int i)
          Gets the ZoomMode that matches the specified integer value.
static ZoomMode from_string(java.lang.String s)
          Gets the ZoomMode that matches the specified name.
 java.lang.String toString()
          Returns the String value of the ZoomMode.
 int value()
          Returns the integer value of the ZoomMode.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_fitBothSides

public static final int _fitBothSides
See Also:
Constant Field Values

_fitOneSide

public static final int _fitOneSide
See Also:
Constant Field Values

_fitFullSize

public static final int _fitFullSize
See Also:
Constant Field Values

fitBothSides

public static final ZoomMode fitBothSides

fitOneSide

public static final ZoomMode fitOneSide

fitFullSize

public static final ZoomMode fitFullSize

FIT_BOTH_SIDES

public static final java.lang.String FIT_BOTH_SIDES
See Also:
Constant Field Values

FIT_ONE_SIDE

public static final java.lang.String FIT_ONE_SIDE
See Also:
Constant Field Values

FIT_FULL_SIZE

public static final java.lang.String FIT_FULL_SIZE
See Also:
Constant Field Values
Method Detail

from_int

public static ZoomMode from_int(int i)
Gets the ZoomMode that matches the specified integer value.

Parameters:
i - an int that identifies a zoom mode
Returns:
the constant that matches the specified integer

from_string

public static ZoomMode from_string(java.lang.String s)
Gets the ZoomMode that matches the specified name.

Parameters:
s - the name of a zoom mode
Returns:
the constant that matches the specified name

toString

public java.lang.String toString()
Returns the String value of the ZoomMode.

Overrides:
toString in class java.lang.Object
Returns:
a String that identifies the zoom mode of the report

value

public int value()
Returns the integer value of the ZoomMode.

Returns:
an int that identifies the zoom mode of the report