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