@JsType(namespace="xgl.css") public enum JustifyContent extends Enum<JustifyContent>
Enum Constant and Description |
---|
CENTER |
FLEX_END |
FLEX_START |
INHERIT |
INITIAL |
SPACE_AROUND |
SPACE_BETWEEN |
UNSET |
Modifier and Type | Method and Description |
---|---|
String |
css() |
static JustifyContent |
get(String propertyName) |
static JustifyContent |
getDefault() |
static JustifyContent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JustifyContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JustifyContent FLEX_START
public static final JustifyContent FLEX_END
public static final JustifyContent CENTER
public static final JustifyContent SPACE_BETWEEN
public static final JustifyContent SPACE_AROUND
public static final JustifyContent INITIAL
public static final JustifyContent INHERIT
public static final JustifyContent UNSET
public static JustifyContent[] values()
for (JustifyContent c : JustifyContent.values()) System.out.println(c);
public static JustifyContent 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 JustifyContent getDefault()
public String css()
public static JustifyContent get(String propertyName)
Copyright © 2018 Xalys. All rights reserved.