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

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

public final class TextRotationAngle
extends java.lang.Object

This class is used to specify text rotation angle.


Field Summary
static int _rotate0
           No rotation.
static int _rotate270
           270 degrees.
static int _rotate90
           90 degrees.
static TextRotationAngle rotate0
           A TextRotationAngle that specifies no rotation.
static TextRotationAngle rotate270
           A TextRotationAngle that specifies 270 degree rotation.
static TextRotationAngle rotate90
           A TextRotationAngle that specifies 90 degree rotation.
 
Method Summary
static TextRotationAngle from_int(int i)
           Returns the TextRotationAngle object corresponding to the specified value.
static TextRotationAngle from_string(java.lang.String sVal)
           Returns the TextRotationAngle object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this TextRotationAngle object.
 int value()
           Returns the int value of this TextRotationAngle object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_rotate0

public static final int _rotate0

No rotation.

See Also:
Constant Field Values

_rotate90

public static final int _rotate90

90 degrees.

See Also:
Constant Field Values

_rotate270

public static final int _rotate270

270 degrees.

See Also:
Constant Field Values

rotate0

public static final TextRotationAngle rotate0

A TextRotationAngle that specifies no rotation.


rotate90

public static final TextRotationAngle rotate90

A TextRotationAngle that specifies 90 degree rotation.


rotate270

public static final TextRotationAngle rotate270

A TextRotationAngle that specifies 270 degree rotation.

Method Detail

from_int

public static final TextRotationAngle from_int(int i)

Returns the TextRotationAngle object corresponding to the specified value.

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

from_string

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

Returns the TextRotationAngle object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this TextRotationAngle object.

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

value

public int value()

Returns the int value of this TextRotationAngle object.

Returns:
The int value of this TextRotationAngle object.