Class sunsoft.jws.visual.rt.type.AlignmentEnum
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.type.AlignmentEnum
java.lang.Object
|
+----sunsoft.jws.visual.rt.type.BaseEnum
|
+----sunsoft.jws.visual.rt.type.AlignmentEnum
- public class AlignmentEnum
- extends BaseEnum
A class that knows the alignment attributes of labels, and in an
instantiation, can store a single alignment selection.
- See Also:
- Label
-
AlignmentEnum()
- Creates an instance with the choice set to LEFT.
-
AlignmentEnum(int)
- Creates an instance with the choice set to the given int value.
-
AlignmentEnum(String)
- Creates an instance with the choice set to the given string.
-
getHelper()
- Gets the helper class that stores the enum definition.
AlignmentEnum
public AlignmentEnum()
- Creates an instance with the choice set to LEFT.
AlignmentEnum
public AlignmentEnum(int choice)
- Creates an instance with the choice set to the given int value.
- Parameters:
- choice - Label.LEFT, Label.CENTER, or Label.RIGHT
AlignmentEnum
public AlignmentEnum(String choice)
- Creates an instance with the choice set to the given string.
- Parameters:
- choice - "left", "center", or "right"
getHelper
protected BaseEnumHelper getHelper()
- Gets the helper class that stores the enum definition.
- Overrides:
- getHelper in class BaseEnum
All Packages Class Hierarchy This Package Previous Next Index