M
- The type of the model value (field type of the model)W
- The type of the widget value (e.g. String for a TextBox
(=HasValue<String>) or Boolean for a
Checkbox
(=HasValue<Boolean>)))public interface Converter<M,W>
Modifier and Type | Method and Description |
---|---|
M |
toModelValue(W widgetValue)
Converts the provided widget value to a model value of type <M>.
|
W |
toWidgetValue(M modelValue)
Converts the provided model value to a value usable by widgets of type
HasValue<W> . |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.