VerticalAlignmentType
Contents
[
Hide
]Inheritance: java.lang.Object
public final class VerticalAlignmentType
Class representing possible vertical alignment values. Use VerticalAlignment instead
Constructors
Constructor | Description |
---|---|
VerticalAlignmentType(String name) | Initializes vertical alignment by its name. |
Fields
Field | Description |
---|---|
Top | Top alignment. |
Center | Center alignment type. |
Bottom | Bottom alignment type. |
Methods
Method | Description |
---|---|
toString() | Returns string representation. |
VerticalAlignmentType(String name)
public VerticalAlignmentType(String name)
Initializes vertical alignment by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Vertical alignment type name. |
Top
public static final VerticalAlignmentType Top
Top alignment.
Center
public static final VerticalAlignmentType Center
Center alignment type.
Bottom
public static final VerticalAlignmentType Bottom
Bottom alignment type.
toString()
public String toString()
Returns string representation.
Returns: java.lang.String - Name value.