@JsType(namespace="xgl.css") public enum TextAlign extends Enum<TextAlign> implements HasCSSName
Enum Constant and Description |
---|
CENTER |
INHERIT |
INITIAL |
JUSTIFY |
LEFT |
RIGHT |
Modifier and Type | Method and Description |
---|---|
String |
css() |
static TextAlign |
get(String propertyName) |
static TextAlign |
getDefault() |
static TextAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAlign LEFT
public static final TextAlign RIGHT
public static final TextAlign CENTER
public static final TextAlign JUSTIFY
public static final TextAlign INITIAL
public static final TextAlign INHERIT
public static TextAlign[] values()
for (TextAlign c : TextAlign.values()) System.out.println(c);
public static TextAlign valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TextAlign getDefault()
public String css()
css
in interface HasCSSName
Copyright © 2018 Xalys. All rights reserved.