|
|
|
@ -46,7 +46,7 @@ public class FilterPane extends JPanel {
|
|
|
|
|
private Popup popup; |
|
|
|
|
private boolean showPopup = false; |
|
|
|
|
private FilterPopupPane filterPopupPane; |
|
|
|
|
private ChangeListener changeListener; |
|
|
|
|
private List<ChangeListener> changeListenerList = new ArrayList<>(); |
|
|
|
|
private final AWTEventListener awtEventListener; |
|
|
|
|
List<PopStateChangeListener> listenerList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
@ -191,12 +191,14 @@ public class FilterPane extends JPanel {
|
|
|
|
|
&& !ComparatorUtils.equals(mv.getSource(), filterLabel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void registerChangeListerner(ChangeListener changeListener) { |
|
|
|
|
this.changeListener = changeListener; |
|
|
|
|
public void registerChangeListener(ChangeListener changeListener) { |
|
|
|
|
changeListenerList.add(changeListener); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void fireChangeListener(ChangeEvent e) { |
|
|
|
|
this.changeListener.stateChanged(e); |
|
|
|
|
for (ChangeListener changeListener : changeListenerList) { |
|
|
|
|
changeListener.stateChanged(e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void reset() { |
|
|
|
|