|
|
|
@ -41,7 +41,13 @@ public class TreeRootPane extends BasicPane {
|
|
|
|
|
checkTypePane.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
|
|
|
loadTypeCheckBox = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Widget_Load_By_Async")); |
|
|
|
|
loadTypeCheckBox.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0)); |
|
|
|
|
loadTypeCheckBoxAddListener(); |
|
|
|
|
loadTypeCheckBox.addMouseListener(new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
UICheckBox checkBox = (UICheckBox) e.getSource(); |
|
|
|
|
doLoadTypeChange(checkBox.isSelected()); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
loadTypePane.add(loadTypeCheckBox); |
|
|
|
|
this.add(loadTypePane); |
|
|
|
@ -62,16 +68,6 @@ public class TreeRootPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void loadTypeCheckBoxAddListener() { |
|
|
|
|
loadTypeCheckBox.addMouseListener(new MouseAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void mouseClicked(MouseEvent e) { |
|
|
|
|
UICheckBox checkBox = (UICheckBox) e.getSource(); |
|
|
|
|
doLoadTypeChange(checkBox.isSelected()); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void doLoadTypeChange(Boolean selected) { |
|
|
|
|
//给埋点插件提供一个方法,埋埋点用
|
|
|
|
|
} |
|
|
|
|