Package | Description |
---|---|
org.jboss.errai.databinding.client | |
org.jboss.errai.databinding.client.api | |
org.jboss.errai.ui.shared.api.annotations |
Modifier and Type | Method and Description |
---|---|
Converter<?,?> |
Binding.getConverter() |
Modifier and Type | Method and Description |
---|---|
Binding |
BindableProxyAgent.bind(com.google.gwt.user.client.ui.Widget widget,
String property,
Converter converter)
Binds the provided widget to the specified property (or property chain) of
the model instance associated with this proxy (see
DataBinder.setModel(Object, InitialState) ). |
Binding |
BindableProxyAgent.bind(com.google.gwt.user.client.ui.Widget widget,
String property,
Converter converter,
boolean bindOnKeyUp)
Binds the provided widget to the specified property (or property chain) of
the model instance associated with this proxy (see
DataBinder.setModel(Object, InitialState) ). |
Constructor and Description |
---|
Binding(String property,
com.google.gwt.user.client.ui.Widget widget,
Converter<?,?> converter,
Map<Class<? extends com.google.gwt.event.shared.GwtEvent>,com.google.gwt.event.shared.HandlerRegistration> handlerMap) |
Modifier and Type | Method and Description |
---|---|
DataBinder<T> |
DataBinder.bind(com.google.gwt.user.client.ui.Widget widget,
String property,
Converter converter)
Binds the provided widget to the specified property of the model instance
associated with this
DataBinder . |
DataBinder<T> |
DataBinder.bind(com.google.gwt.user.client.ui.Widget widget,
String property,
Converter converter,
boolean bindOnKeyUp)
Binds the provided widget to the specified property of the model instance
associated with this
DataBinder . |
static <M,W> void |
Convert.registerDefaultConverter(Class<M> modelValueType,
Class<W> widgetValueType,
Converter<M,W> converter)
Registers a
Converter as a default for the provided model and widget types. |
static <M,W> M |
Convert.toModelValue(Class<M> modelValueType,
Class<W> widgetValueType,
W widgetValue,
Converter<M,W> converter)
Converts the provided object to a model value.
|
static <M,W> M |
Convert.toModelValue(Class<M> modelValueType,
com.google.gwt.user.client.ui.Widget widget,
W widgetValue,
Converter<M,W> converter)
Converts the provided object to a model value.
|
static <M,W> W |
Convert.toWidgetValue(Class<W> widgetValueType,
Class<M> modelValueType,
M modelValue,
Converter<M,W> converter)
Converts the provided object to a widget value.
|
static <M,W> W |
Convert.toWidgetValue(com.google.gwt.user.client.ui.Widget widget,
Class<M> modelValueType,
M modelValue,
Converter<M,W> converter)
Converts the provided object to a widget value.
|
Modifier and Type | Class and Description |
---|---|
static class |
Bound.NO_CONVERTER |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.