Errai 3.0.1-SNAPSHOT

org.jboss.errai.databinding.client
Interface BindableProxyProvider


public interface BindableProxyProvider

Provides instances of BindableProxys (proxy objects for types annotated with Bindable).

Author:
Christian Sadilek

Method Summary
 BindableProxy<?> getBindableProxy(InitialState state)
          Returns a proxy for a newly created model instance, bound to the provided widget.
 BindableProxy<?> getBindableProxy(Object model, InitialState state)
          Returns a proxy for the provided model instance, bound to the provided widget.
 

Method Detail

getBindableProxy

BindableProxy<?> getBindableProxy(InitialState state)
Returns a proxy for a newly created model instance, bound to the provided widget.

Parameters:
state - Specifies the origin of the initial state of both model and UI widget.
Returns:
proxy instance

getBindableProxy

BindableProxy<?> getBindableProxy(Object model,
                                  InitialState state)
Returns a proxy for the provided model instance, bound to the provided widget.

Parameters:
model - The model to proxy.
state - Specifies the origin of the initial state of both model and UI widget.
Returns:
proxy instance

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.