convert and convertBack operations that enable object
decomposition and reconstruction. Note that the following invariant must always be
satisfied: convert(convertBack(value)).equals(value)
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: the converted objectthe constituent values values)Converts a map of CSS values to the target type. |
| public Map | Returns: aMap of the constituent valuesthe object value)Converts an object back to a map of its constituent values (deconstruction). |
| convert | back to summary |
|---|---|
| public T convert(Map<CssMetaData<? extends Styleable, ?>, Object> values) Converts a map of CSS values to the target type.
| |
| convertBack | back to summary |
|---|---|
| public Map Converts an object back to a map of its constituent values (deconstruction).
The returned map can be passed into
| |