public interface BindableContainer
@DataObject annotation and widgets inserted into this container.| Modifier and Type | Method and Description |
|---|---|
void |
addDataObjectBinder(DataObjectBinder<?> dataObjectBinder,
String dataObjectAlias)
Add a new binding configuration for a DataValue object
|
void |
copyTo(Object dataObject)
Update the given dataObject with the values contained on UI elements of this bindable container.
|
<T> DataObjectBinder<T> |
getDataObjectBinder(Class<T> dataObjectClass)
Retrieve the configuration object for a DataValue object
|
<T> DataObjectBinder<T> |
getDataObjectBinder(String dataObjectAlias)
Retrieve the configuration object for a DataValue object
|
com.google.gwt.user.client.ui.Widget |
getLoadedWidget(String id)
Retrieve a widget from the container if it is already loaded into it.
|
<T> T |
read(Class<T> dataObjectClass)
Read the dataObject bound to the given class from this bindable container.
|
<T> T |
read(String dataObjectAlias)
Read the dataObject bound to the given alias from this bindable container.
|
void |
write(Object dataObject)
Write the given dataObject into this bindable container.
|
void |
writeAll(Object... dataObjects)
Write the given dataObjects into this bindable container.
|
void addDataObjectBinder(DataObjectBinder<?> dataObjectBinder, String dataObjectAlias)
dataObjectBinder - the binder classdataObjectAlias - the binder aliasvoid copyTo(Object dataObject)
dataObject - the object that will be updated<T> DataObjectBinder<T> getDataObjectBinder(Class<T> dataObjectClass)
dataObjectClass - the DataValue class.<T> DataObjectBinder<T> getDataObjectBinder(String dataObjectAlias)
dataObjectAlias - the binder alias.com.google.gwt.user.client.ui.Widget getLoadedWidget(String id)
id - the widget identifier.<T> T read(Class<T> dataObjectClass)
dataObjectClass - dataObject class<T> T read(String dataObjectAlias)
dataObjectAlias - dataObject aliasvoid write(Object dataObject)
dataObject - the data object to writevoid writeAll(Object... dataObjects)
dataObjects - the data objects to writeCopyright © 2015. All rights reserved.