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

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

public final class Alignment
extends java.lang.Object

This class specifies the paragraph alignment.


Field Summary
static int _decimal
           Align decimal point to the tab stop.
static int _horizontalCenter
           Centered horizontally.
static int _justified
           Aligned using full justification.
static int _left
           Left-justified.
static int _right
           Right-justified.
static int _useDefault
           Aligned using the default alignment set at design time.
static Alignment decimal
           An Alignment object that aligns the decimal point to the tab stop.
static Alignment horizontalCenter
           An Alignment object that specifies the paragraph is centered horizontally.
static Alignment justified
           An Alignment object that specifies the paragraph is aligned using full justification.
static Alignment left
           An Alignment object that specifies the paragraph is left-justified.
static Alignment right
           An Alignment object that specifies the paragraph is right-justified.
static Alignment useDefault
           An Alignment object that specifies the paragraph is aligned using the default alignment set at design time.
 
Method Summary
static Alignment from_int(int i)
           Returns the Alignment object corresponding to the specified value.
static Alignment from_string(java.lang.String sVal)
           Returns the Alignment object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this Alignment object.
 int value()
           Returns the int value of this Alignment object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_useDefault

public static final int _useDefault

Aligned using the default alignment set at design time.

See Also:
Constant Field Values

_left

public static final int _left

Left-justified.

See Also:
Constant Field Values

_horizontalCenter

public static final int _horizontalCenter

Centered horizontally.

See Also:
Constant Field Values

_right

public static final int _right

Right-justified.

See Also:
Constant Field Values

_justified

public static final int _justified

Aligned using full justification.

See Also:
Constant Field Values

_decimal

public static final int _decimal

Align decimal point to the tab stop. Use for tabs only.

See Also:
Constant Field Values

useDefault

public static final Alignment useDefault

An Alignment object that specifies the paragraph is aligned using the default alignment set at design time.


left

public static final Alignment left

An Alignment object that specifies the paragraph is left-justified.


horizontalCenter

public static final Alignment horizontalCenter

An Alignment object that specifies the paragraph is centered horizontally.


right

public static final Alignment right

An Alignment object that specifies the paragraph is right-justified.


justified

public static final Alignment justified

An Alignment object that specifies the paragraph is aligned using full justification.


decimal

public static final Alignment decimal

An Alignment object that aligns the decimal point to the tab stop. Use with tabs only.

Method Detail

from_int

public static final Alignment from_int(int i)

Returns the Alignment object corresponding to the specified value.

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

from_string

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

Returns the Alignment object corresponding to the specified type.

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

toString

public java.lang.String toString()

Returns the String value of this Alignment object.

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

value

public int value()

Returns the int value of this Alignment object.

Returns:
The int value of this Alignment object.