|
|
|
@ -23,8 +23,6 @@ import java.io.InputStream;
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
|
|
|
|
|
public class HeaderSortRulePane extends JPanel { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final String ASC_ICON_TEMPLATE_PATH = "/com/fr/design/images/sort/asc.svg"; |
|
|
|
|
private static final String DES_ICON_TEMPLATE_PATH = "/com/fr/design/images/sort/des.svg"; |
|
|
|
|
private static final String NOSORT_ICON_TEMPLATE_PATH = "/com/fr/design/images/sort/nosort.svg"; |
|
|
|
@ -35,7 +33,6 @@ public class HeaderSortRulePane extends JPanel {
|
|
|
|
|
UICheckBox desUICheckBox; |
|
|
|
|
UICheckBox nosortUICheckBox; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HeaderSortRulePane() { |
|
|
|
|
initComponents(); |
|
|
|
|
initState(); |
|
|
|
@ -75,7 +72,6 @@ public class HeaderSortRulePane extends JPanel {
|
|
|
|
|
nosortIconButton.refreshIconLabelColor(new Color(33, 33, 34)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class IconButton extends JPanel { |
|
|
|
|
JLayeredPane jLayeredPane; |
|
|
|
|
String iconTemplatePath; |
|
|
|
@ -195,7 +191,6 @@ public class HeaderSortRulePane extends JPanel {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void populateBean(SortHeader.SortItem[] sortItems) { |
|
|
|
|
initState(); |
|
|
|
|
if (sortItems != null) { |
|
|
|
@ -245,7 +240,6 @@ public class HeaderSortRulePane extends JPanel {
|
|
|
|
|
nosortUICheckBox.registerChangeListener(uiObserverListener); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void removeListener(UIObserverListener uiObserverListener) { |
|
|
|
|
ascIconButton.removeListener(uiObserverListener); |
|
|
|
|
desIconButton.removeListener(uiObserverListener); |
|
|
|
|