|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The Alignment Format interface.
| Inner Class Summary | |
static class |
AlignFormat.EHorizontal
Horizontal alignment enumeration |
static class |
AlignFormat.EOrientation
Orientation enumeration |
static class |
AlignFormat.EProperty
Align format property enumeration |
static class |
AlignFormat.EVertical
Vertical alignment enumeration |
| Method Summary | |
AlignFormat.EHorizontal |
getHorizontalAlignment()
Gets the horizontal alignment. |
AlignFormat.EOrientation |
getOrientation()
Gets the text orientation. |
short |
getRotation()
Gets the text rotation as a custom value. |
AlignFormat.EVertical |
getVerticalAlignment()
Gets the vertical alignment. |
boolean |
isWordWrap()
Returns whether word wrap is enabled. |
void |
setHorizontalAlignment(AlignFormat.EHorizontal alignment)
Sets the horizontal alignment. |
void |
setOrientation(AlignFormat.EOrientation orientation)
Sets the orientation. |
void |
setRotation(short rotation)
Sets the text rotation as a custom value. |
void |
setVerticalAlignment(AlignFormat.EVertical alignment)
Sets the vertical alignment. |
void |
setWordWrap(boolean wrap)
Sets the wordwrap attribute. |
| Methods inherited from interface com.f1j.util.FormatBase |
isUndefined,
isUndefined,
isUsed,
setUndefined,
undefineAll,
useAll |
| Field Detail |
public static final AlignFormat.EProperty eHorizontalAlignment
public static final AlignFormat.EProperty eOrientation
public static final AlignFormat.EProperty eWordWrap
public static final AlignFormat.EProperty eVerticalAlignment
public static final AlignFormat.EHorizontal eHorizontalLeft
public static final AlignFormat.EHorizontal eHorizontalCenter
public static final AlignFormat.EHorizontal eHorizontalRight
public static final AlignFormat.EHorizontal eHorizontalJustify
public static final AlignFormat.EVertical eVerticalTop
public static final AlignFormat.EVertical eVerticalCenter
public static final AlignFormat.EVertical eVerticalBottom
public static final AlignFormat.EVertical eVerticalJustify
public static final AlignFormat.EOrientation eOrientationNone
public static final AlignFormat.EOrientation eOrientationTopToBottom
public static final AlignFormat.EOrientation eOrientationCounterClockwise
public static final AlignFormat.EOrientation eOrientationClockwise
public static final AlignFormat.EOrientation eOrientationCustom
| Method Detail |
public AlignFormat.EHorizontal getHorizontalAlignment()
public AlignFormat.EOrientation getOrientation()
public short getRotation()
public AlignFormat.EVertical getVerticalAlignment()
public boolean isWordWrap()
true = word wrap is enabled.setWordWrap(boolean)public void setHorizontalAlignment(AlignFormat.EHorizontal alignment)
alignment - The EHorizontal value.public void setOrientation(AlignFormat.EOrientation orientation)
orientation - The EOrientation value.
public void setRotation(short rotation)
throws InvalidArgumentException,
F1Exception
rotation - The rotation value.public void setVerticalAlignment(AlignFormat.EVertical alignment)
alignment - The EVertical value.public void setWordWrap(boolean wrap)
wrap - boolean true or false.isWordWrap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||