Hy all,
on my gwt app i've created a custom hyperlink with a method to fire
click event programmatically.
What i've done is to use ClickListenerCollection and  its fireClick()
method.

class MyHyperlink extends Hyperlink{
 private ClickListenerCollection clc = new ClickListenerCollection();
 ...
 ...

// Override addClickListener
public void addClicklistener(ClickListener listener){
  addClickListener(listener);
  clc.add(listener);
}

// Programmatic event
public void doClick(){
  clc.fireClick(this);
}

}

Now i'm trying to upgrade my app to gwt 1.6 and
ClickListenerCollection is deprecated.
How can i obtain the same behaviour?

Many thanks
Marco

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to