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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.