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

Constructor Index

 o AlignmentEnum()
Creates an instance with the choice set to LEFT.
 o AlignmentEnum(int)
Creates an instance with the choice set to the given int value.
 o AlignmentEnum(String)
Creates an instance with the choice set to the given string.

Method Index

 o getHelper()
Gets the helper class that stores the enum definition.

Constructors

 o AlignmentEnum
  public AlignmentEnum()
Creates an instance with the choice set to LEFT.
 o 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
 o AlignmentEnum
  public AlignmentEnum(String choice)
Creates an instance with the choice set to the given string.
Parameters:
choice - "left", "center", or "right"

Methods

 o 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