public final class TextBlockAnchor
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static TextBlockAnchor |
BOTTOM_CENTER
Bottom/center.
|
static TextBlockAnchor |
BOTTOM_LEFT
Bottom/left.
|
static TextBlockAnchor |
BOTTOM_RIGHT
Bottom/right.
|
static TextBlockAnchor |
CENTER
Middle/center.
|
static TextBlockAnchor |
CENTER_LEFT
Middle/left.
|
static TextBlockAnchor |
CENTER_RIGHT
Middle/right.
|
private java.lang.String |
name
The name.
|
private static long |
serialVersionUID
For serialization.
|
static TextBlockAnchor |
TOP_CENTER
Top/center.
|
static TextBlockAnchor |
TOP_LEFT
Top/left.
|
static TextBlockAnchor |
TOP_RIGHT
Top/right.
|
Modifier | Constructor and Description |
---|---|
private |
TextBlockAnchor(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 TextBlockAnchor TOP_LEFT
public static final TextBlockAnchor TOP_CENTER
public static final TextBlockAnchor TOP_RIGHT
public static final TextBlockAnchor CENTER_LEFT
public static final TextBlockAnchor CENTER
public static final TextBlockAnchor CENTER_RIGHT
public static final TextBlockAnchor BOTTOM_LEFT
public static final TextBlockAnchor BOTTOM_CENTER
public static final TextBlockAnchor BOTTOM_RIGHT
private java.lang.String name
private TextBlockAnchor(java.lang.String name)
name
- the name.public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
true
if this object is equal to the specified
object, and false
otherwise.equals
in class java.lang.Object
o
- the other object.public int hashCode()
hashCode
in class java.lang.Object
private java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException
- if there is a problem.