public static class CSSProperty.Translator extends Object
| Constructor and Description |
|---|
CSSProperty.Translator() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends CSSProperty> |
createInherit(Class<T> type)
Creates "inherit" instance
|
static <T extends CSSProperty> |
valueOf(Class<T> type,
String value)
Retrieves CSSProperty by its name and class
|
public static final <T extends CSSProperty> T valueOf(Class<T> type, String value)
type - Class of CSSPropertyvalue - Text valuenull elsewherepublic static final <T extends CSSProperty> T createInherit(Class<T> type)
type - Type of CSS propertynull is returned, something
is flawed.Copyright © 2014. All rights reserved.