|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.crystaldecisions.sdk.occa.report.definition.Alignment
public final class Alignment
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 |
---|
public static final int _useDefault
Aligned using the default alignment set at design time.
public static final int _left
Left-justified.
public static final int _horizontalCenter
Centered horizontally.
public static final int _right
Right-justified.
public static final int _justified
Aligned using full justification.
public static final int _decimal
Align decimal point to the tab stop. Use for tabs only.
public static final Alignment useDefault
An Alignment
object that specifies the paragraph is aligned using the default
alignment set at design time.
public static final Alignment left
An Alignment
object that specifies the paragraph is left-justified.
public static final Alignment horizontalCenter
An Alignment
object that specifies the paragraph is centered horizontally.
public static final Alignment right
An Alignment
object that specifies the paragraph is right-justified.
public static final Alignment justified
An Alignment
object that specifies the paragraph is aligned using full
justification.
public static final Alignment decimal
An Alignment
object that aligns the decimal point to the tab stop.
Use with tabs only.
Method Detail |
---|
public static final Alignment from_int(int i)
Returns the Alignment
object corresponding to the specified value.
i
- The int
value of the desired Alignment
object.
Alignment
object corresponding to the specified value.public static final Alignment from_string(java.lang.String sVal)
Returns the Alignment
object corresponding to the specified type.
sVal
- The String
value of the desired Alignment
object.
Alignment
object corresponding to the specified type.public java.lang.String toString()
Returns the String
value of this Alignment
object.
toString
in class java.lang.Object
String
value of this Alignment
object.public int value()
Returns the int
value of this Alignment
object.
int
value of this Alignment
object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |