|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.swt.XAlignmentHelper
public class XAlignmentHelper
A utility class to help in setting alignment options
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
| Field Summary | |
|---|---|
static int[] |
alignmentOptionIds
The constants associated with each alignment |
static java.lang.String[] |
alignmentOptions
Left, Right, Center, Leading, Trailing, LeftToRight, RightToLeft |
| Constructor Summary | |
|---|---|
XAlignmentHelper()
Construct a new helper |
|
| Method Summary | |
|---|---|
static java.lang.String |
getAlignmentOption(int value)
Get the name/text of an alignment |
static int |
getAlignmentOption(java.lang.String value)
Get the alignment option value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] alignmentOptions
public static final int[] alignmentOptionIds
| Constructor Detail |
|---|
public XAlignmentHelper()
| Method Detail |
|---|
public static int getAlignmentOption(java.lang.String value)
value - the alignment name
public static java.lang.String getAlignmentOption(int value)
value - the alignment value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||