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