Class sunsoft.jws.visual.rt.type.AnchorEnum
All Packages Class Hierarchy This Package Previous Next Index
Class sunsoft.jws.visual.rt.type.AnchorEnum
java.lang.Object
|
+----sunsoft.jws.visual.rt.type.BaseEnum
|
+----sunsoft.jws.visual.rt.type.AnchorEnum
- public class AnchorEnum
- extends BaseEnum
A class that knows all the possible anchor attribute choices. In an
instantiation, can store a single alignment selection.
- See Also:
- GBConstraints
-
AnchorEnum()
- Constructs an instance with choice set to GBConstraints.CENTER.
-
AnchorEnum(int)
- Constructs an instance from an int value.
-
AnchorEnum(String)
- Constructs an instance from a string value.
-
getHelper()
- Gets the helper class that stores the enum definition.
AnchorEnum
public AnchorEnum()
- Constructs an instance with choice set to GBConstraints.CENTER.
AnchorEnum
public AnchorEnum(int choice)
- Constructs an instance from an int value.
- Parameters:
- choice - GBConstraints.CENTER, GBConstraints.NORTH, GBConstraints.SOUTH, GBConstraints.EAST, GBConstraints.WEST, GBConstraints.NORTHWEST, GBConstraints.SOUTHWEST, GBConstraints.NORTHEAST, or GBConstraints.SOUTHEAST
AnchorEnum
public AnchorEnum(String choice)
- Constructs an instance from a string value.
- Parameters:
- choice - "center", "north", "south", "east", "west", "northwest", "southwest", "northeast", or "southeast"
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