Browse Source

柱形图数据配置界面少了一点 上次处理代码质量出的bug

research/10.0
zheng 6 years ago
parent
commit
fff1a460b2
  1. 10
      designer-chart/src/main/java/com/fr/design/chartx/component/AbstractCustomFieldComboBoxPane.java

10
designer-chart/src/main/java/com/fr/design/chartx/component/AbstractCustomFieldComboBoxPane.java

@ -58,6 +58,11 @@ public abstract class AbstractCustomFieldComboBoxPane<T> extends UIComboBoxPane<
customFieldNamePane = createCustomFieldNamePane();
List<FurtherBasicBeanPane<? extends T>> list = new ArrayList<FurtherBasicBeanPane<? extends T>>();
list.add(useFieldValuePane);
list.add(paneWrapper());
return list;
}
private FurtherBasicBeanPane<? extends T> paneWrapper() {
FurtherBasicBeanPane pane = new FurtherBasicBeanPane() {
@Override
public String title4PopupWindow() {
@ -82,8 +87,9 @@ public abstract class AbstractCustomFieldComboBoxPane<T> extends UIComboBoxPane<
return null;
}
};
list.add(pane);
return list;
pane.setLayout(new BorderLayout(0, 6));
pane.add(customFieldNamePane, BorderLayout.CENTER);
return pane;
}
protected abstract AbstractUseFieldValuePane createUseFieldValuePane();

Loading…
Cancel
Save