java.io.Serializable
public final class HorizontalAlignment extends java.lang.Object implements java.io.Serializable
LEFT
,
RIGHT
and CENTER
).Modifier and Type | Field | Description |
---|---|---|
static HorizontalAlignment |
CENTER |
Center alignment.
|
static HorizontalAlignment |
LEFT |
Left alignment.
|
static HorizontalAlignment |
RIGHT |
Right alignment.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
Returns
true if this object is equal to the specified
object, and false otherwise. |
int |
hashCode() |
Returns a hash code value for the object.
|
java.lang.String |
toString() |
Returns a string representing the object.
|
public static final HorizontalAlignment LEFT
public static final HorizontalAlignment RIGHT
public static final HorizontalAlignment CENTER
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
true
if this object is equal to the specified
object, and false
otherwise.equals
in class java.lang.Object
obj
- the object (null
permitted).public int hashCode()
hashCode
in class java.lang.Object