Add collapse event to the GWT
Even though the requirement is simple, I feel that this is eating my time, i'm trying to add a collapse event to the gwt gxt combobox, i'm using the version 2.1 gwt. Any small snippet will be helpful. the version of the library that i have do not support addCollapsehandler event, i've tried to do with addHandler, i do not know how to proceed on this.
Thanks.
这将是正常的做法:
Listener<FieldEvent> collapseListener = new Listener<FieldEvent>() {
@Override void handleEvent(FieldEvent fe) {
// collapse handler here
}
}
comboBox.addListener(Events.Collapse, collapseListener);
链接地址: http://www.djcxy.com/p/64410.html
下一篇: 将折叠事件添加到GWT