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