So I have a handler for when I right click it , it will clear the criteria. How do I set this in setFilterButtonProperties? I want to be able to right click the filter button, it should clear all the characters I typed into the filter fields.
addFilterEditorSubmitHandler(new FilterEditorSubmitHandler()
{
@Override
public void onFilterEditorSubmit(FilterEditorSubmitEvent event)
{
if (event.isRightButtonDown())
{
SC.warn("right clicked");
clearCriteria();
}
}
});
setFilterButtonProperties();