Hi:
I use GWT 2.3 and this question may sound a little bit weird
I create a Widget component calling
initWidget(uiBinder.createAndBindUi(this)) into uibinder owner constructor
method.
public HelloWorld()
{
initWidget(uiBinder.createAndBindUi(this));
}
Therefore, uibinder owner implements onEvent() to receive events
When I invoke 'new HelloWorld()' , a new Widget
I don't know how GWT implements if I call many times 'new HelloWorld()' ,
but if a event is fired , is received by all of them.
I'd like that if I do
HelloWorld h1 = new HelloWorld();
HelloWorld h2 = new HelloWorld();
I could "to destroy" h1 such as when I do h1 = null in Java language, so
new fired events only be received by h2
is it possible ?
I don't want to remove from parent , I want to destroy that reference , but
I don't know how GWT implements it
Thanks & regards
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/iRnebZ6UkTwJ.
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.