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