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