PDA

View Full Version : [FIXED] RC1 Possible mess with CheckChanged and CheckChange



Mike Chaliy
30 Jun 2009, 2:48 AM
Assigns to Events.CheckChanged

public void addCheckListener(CheckChangedListener<M> listener) {
addListener(Events.CheckChanged, listener);
}Fitlers if Events.CheckChange (without D). and then execute checkChanged


public void handleEvent(CheckChangedEvent<M> ce) {
if (ce.getType() == Events.CheckChange) {
checkChanged(ce);
}
}
public void checkChanged(CheckChangedEvent<M> event) {
}This code from TreePanel. I am looking how handle check boxes.

sven
30 Jun 2009, 3:08 AM
Fitlers if Events.CheckChange (without D). and then execute checkChanged

public void handleEvent(CheckChangedEvent<M> ce) {
if (ce.getType() == Events.CheckChange) {
checkChanged(ce);
}
}
public void checkChanged(CheckChangedEvent<M> event) {
}

This code from TreePanel. I am looking how handle check boxes.

I dont see this in the treepanel code. Please post bugs as the bugforum guidelines tell you.

darrellmeyer
30 Jun 2009, 7:57 AM
I have added the missing "D" to CheckChangedListener. Change is in SVN.