use of com.extjs.gxt.ui.client.event.SelectionListener in project activityinfo by bedatadriven.
the class FilterToolBar method createApplyButton.
private void createApplyButton() {
if (renderApplyButton) {
applyButton = new Button(I18N.CONSTANTS.apply(), IconImageBundle.ICONS.applyFilter(), new SelectionListener<ButtonEvent>() {
@Override
public void componentSelected(ButtonEvent ce) {
fireEvent(new ApplyFilterEvent());
}
});
add(applyButton);
setApplyFilterEnabled(false);
}
}
use of com.extjs.gxt.ui.client.event.SelectionListener in project activityinfo by bedatadriven.
the class FilterToolBar method createRemoveButton.
private void createRemoveButton() {
if (renderRemoveButton) {
removeButton = new Button(I18N.CONSTANTS.remove(), IconImageBundle.ICONS.delete(), new SelectionListener<ButtonEvent>() {
@Override
public void componentSelected(ButtonEvent ce) {
fireEvent(new RemoveFilterEvent());
}
});
add(removeButton);
setRemoveFilterEnabled(false);
}
}
Aggregations