((DateFilter)filter[date]).setStartDate(startDateChooser.getDate()); ((DateFilter)filter[date]).setEndDate(endDateChooser.getDate()); ((SearchFilter)filter[search]).setSearchString(searchFilterTextField.getText()); syncFilterWithButton(filter[callIn], callInFilterButton); syncFilterWithButton(filter[callInFailed], callInFailedFilterButton); syncFilterWithButton(filter[callOut], callOutFilterButton); syncFilterWithButton(filter[comment], commentFilterButton); syncFilterWithButton(filter[anonym], anonymFilterButton); syncFilterWithButton(filter[fixed], fixedFilterButton); syncFilterWithButton(filter[handy], handyFilterButton); syncFilterWithButton(filter[date], dateFilterButton); syncFilterWithButton(filter[sip], sipFilterButton); syncFilterWithButton(filter[callByCall], callByCallFilterButton); syncFilterWithButton(filter[search], searchFilterButton);
	private void syncAllFilters() {		syncFilterWithButton(filter[callIn], callInFilterButton);		syncFilterWithButton(filter[callInFailed], callInFailedFilterButton);		syncFilterWithButton(filter[callOut], callOutFilterButton);		syncFilterWithButton(filter[comment], commentFilterButton);		syncFilterWithButton(filter[anonym], anonymFilterButton);		syncFilterWithButton(filter[fixed], fixedFilterButton);		syncFilterWithButton(filter[handy], handyFilterButton);		syncFilterWithButton(filter[date], dateFilterButton);		syncFilterWithButton(filter[sip], sipFilterButton);		syncFilterWithButton(filter[callByCall], callByCallFilterButton);		syncFilterWithButton(filter[search], searchFilterButton);		if (searchFilterButton.getState() == ThreeStateButton.NOTHING) {			searchFilterTextField.setVisible(false);			searchLabel.setVisible(false);		} else {			searchFilterTextField.setVisible(true);			searchLabel.setVisible(true);		}		if (dateFilterButton.getState() == ThreeStateButton.NOTHING) {			startDateChooser.setVisible(false);			endDateChooser.setVisible(false);		} else {			startDateChooser.setVisible(true);			endDateChooser.setVisible(true);		}	}