Hi John,

The mapping is from the property name to a corresponding setPropertyName
method. See UiBinderWriter.genPropertySet. In the case of say <g:Label
text="oh hai">, that translates to a call to label.setText("oh hai")

In the case of a grid, since there aren't such setProperty calls. You could
extend Grid and create your own relevant setProperty calls or you could mark
it as @UiField(provided=true) and simply initialize it yourself.

On Wed, Nov 24, 2010 at 2:39 AM, John Gentilin <gent...@gmail.com> wrote:

> I am trying to determine what attributes are available for different
> GWT widgets and it is unclear to me how the attribute mapping exists
> from UIBinder to the actual Java implementation. Also how are
> constructors mapped.
> i.e. How would you specify a <g:Grid> to be sized to 5 x 5 from the
> UIBinder specification.. Right now I resize my table after calling
> initWidget() in my view constructor...
>
> -John Gentilin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to