public interface Converter<T>
SimpleBindingProcessor
Converters.Modifier and Type | Method and Description |
---|---|
Object |
convertForWidget(com.google.gwt.user.client.ui.Widget widget,
T value)
Convert the given value to a form that can be displayed by the given Widget.
|
T |
convertFromWidget(com.google.gwt.user.client.ui.Widget widget,
Object value,
Class<?> intoClass)
Convert the given value (as returned by the given Widget) into the given class
|
T convertFromWidget(com.google.gwt.user.client.ui.Widget widget, Object value, Class<?> intoClass)
intoClass
- the class to convert into. Useful for handling subclasses (eg. see
NumberConverter)Copyright © 2015. All Rights Reserved.