Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Multiple kinds of OnClickEvents

    Hello, I am writing a program that requires multiple types of click events, i need a

    form.fields.events.ClickEvent;
    form.fields.events.ClickHandler;
    and

    widgets.events.ClickEvent;
    widgets.events.ClickHandler;

    but when i try to add both imports in eclipse, it gets mad at me saying that i need to clean up my imports.

    How can I do this?

    #2
    this is super lame... but if anyone else ever runs into this problem the solution is to do something like this:

    Code:
    blah.addClickHandler(new com.smartgwt.client.widgets.events.ClickHandler() {  
    			@Override
    			public void onClick(com.smartgwt.client.widgets.events.ClickEvent event) {
    
    			}  
    		});

    Comment

    Working...
    X