|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TextAlignment>
org.xith3d.ui.text2d.TextAlignment
public enum TextAlignment
Constants for text-alignment
| Enum Constant Summary | |
|---|---|
BOTTOM_CENTER
|
|
BOTTOM_LEFT
|
|
BOTTOM_RIGHT
|
|
CENTER_CENTER
|
|
CENTER_LEFT
|
|
CENTER_RIGHT
|
|
TOP_CENTER
|
|
TOP_LEFT
|
|
TOP_RIGHT
|
|
| Method Summary | |
|---|---|
boolean |
isBottomAligned()
Checks wheather this alignment is a vertically bottom alignment |
boolean |
isHCenterAligned()
Checks wheather this alignment is a horizontaly centered alignment |
boolean |
isLeftAligned()
Checks wheather this alignment is a horizontaly left alignment |
boolean |
isRightAligned()
Checks wheather this alignment is a horizontaly right alignment |
boolean |
isTopAligned()
Checks wheather this alignment is a vertically top alignment |
boolean |
isVCenterAligned()
Checks wheather this alignment is a vertically centered alignment |
static TextAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TextAlignment[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TextAlignment TOP_LEFT
public static final TextAlignment TOP_CENTER
public static final TextAlignment TOP_RIGHT
public static final TextAlignment CENTER_LEFT
public static final TextAlignment CENTER_CENTER
public static final TextAlignment CENTER_RIGHT
public static final TextAlignment BOTTOM_LEFT
public static final TextAlignment BOTTOM_CENTER
public static final TextAlignment BOTTOM_RIGHT
| Method Detail |
|---|
public static TextAlignment[] values()
for (TextAlignment c : TextAlignment.values()) System.out.println(c);
public static TextAlignment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic boolean isLeftAligned()
public boolean isHCenterAligned()
public boolean isRightAligned()
public boolean isTopAligned()
public boolean isVCenterAligned()
public boolean isBottomAligned()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||