88899091929394
return values.size() == 0 || values.contains(value); } protected void onCheckChange(MenuEvent be) { setActive(isActivatable(), false); fireEvent(Events.Update, new FilterEvent(this)); }
115116117118119120121122
* @return the key value pairs representing the current configuration of the * filter */ public List<FilterConfig> serialize() { List<FilterConfig> args = getSerialArgs(); fireEvent(Events.Serialize, new FilterEvent(this, args)); return args; }
131132133134135136137138139
public void setActive(boolean active, boolean supressEvent) { active = active && isActivatable(); if (this.active != active) { this.active = active; if (!supressEvent) { fireEvent(active ? Events.Activate : Events.Deactivate, new FilterEvent(this)); } } }
172173174175176177178179180
return true; } protected void fireUpdate() { if (active) { fireEvent(Events.Update, new FilterEvent(this)); } setActive(isActivatable(), false); }
114115116117118119120121
128129130131132133134135136
*/ public void setActive(boolean active, boolean supressEvent) { if (this.active != active) { this.active = active; if (!supressEvent) { fireEvent(active ? Events.Activate : Events.Deactivate, new FilterEvent(this)); } } }
169170171172173174175176177
113114115116117118119
} @Override public void setValue(Object value) { field.setValue((String) value); fireEvent(Events.Update, new FilterEvent(this)); }
72737475767778
270271272273274275276
return true; } protected void onCheckChange(MenuEvent be) { setActive(isActivatable(), false); fireEvent(Events.Update, new FilterEvent(this)); }