public final class VerticalAlignment
extends java.lang.Object
implements java.io.Serializable
TOP,
BOTTOM and CENTER).| Modifier and Type | Field and Description |
|---|---|
static VerticalAlignment |
BOTTOM
Bottom alignment.
|
static VerticalAlignment |
CENTER
Center alignment.
|
private java.lang.String |
name
The name.
|
private static long |
serialVersionUID
For serialization.
|
static VerticalAlignment |
TOP
Top alignment.
|
| Modifier | Constructor and Description |
|---|---|
private |
VerticalAlignment(java.lang.String name)
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Returns
true if this object is equal to the specified
object, and false otherwise. |
int |
hashCode()
Returns a hash code value for the object.
|
private java.lang.Object |
readResolve()
Ensures that serialization returns the unique instances.
|
java.lang.String |
toString()
Returns a string representing the object.
|
private static final long serialVersionUID
public static final VerticalAlignment TOP
public static final VerticalAlignment BOTTOM
public static final VerticalAlignment CENTER
private java.lang.String name
private VerticalAlignment(java.lang.String name)
name - the name.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
true if this object is equal to the specified
object, and false otherwise.equals in class java.lang.Objecto - the other object.public int hashCode()
hashCode in class java.lang.Objectprivate java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException - if there is a problem.