Yes, it certainly is. Just use Java class fields to maintain references to the widgets. The containing class is most likely some view composed of numerous widgets. Actions in one widget can influence state changes in other widgets in the view via field references to those widgets.
Jeff On Mon, Dec 13, 2010 at 9:27 AM, Ross McKinnon <[email protected]>wrote: > Hi there, > > Is it possible to access and add things to a widget of another class? > For example based on the results of a method in one class I want to > add a new Tab to a Tab Layout in a different class. > > Thanks for any help! > Ross > > -- > 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. > > -- *Jeff Schwartz* -- 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.
