Browse Source

雷达图添加用户自定义最大最小值

master
mengao 8 years ago
parent
commit
c25e38e5f6
  1. 15
      designer_chart/src/com/fr/design/mainframe/chart/gui/data/TableDataPane.java

15
designer_chart/src/com/fr/design/mainframe/chart/gui/data/TableDataPane.java

@ -22,16 +22,12 @@ public class TableDataPane extends FurtherBasicBeanPane<ChartCollection>{
private static final long serialVersionUID = 4740461028440155147L;
private static final int TOP = -5;
private DatabaseTableDataPane tableDataPane;
protected AbstractTableDataContentPane dataContentPane;
private AbstractTableDataContentPane dataContentPane;
public AbstractTableDataContentPane getDataContentPane() {
protected AbstractTableDataContentPane getDataContentPane() {
return dataContentPane;
}
public void setDataContentPane(AbstractTableDataContentPane dataContentPane) {
this.dataContentPane = dataContentPane;
}
private ChartDataPane parent;
public TableDataPane(ChartDataPane parent) {
@ -112,15 +108,20 @@ public class TableDataPane extends FurtherBasicBeanPane<ChartCollection>{
* @param collection 图表属性的集合
*/
public void refreshContentPane(ChartCollection collection) {
refreshContentPane(getContentPane(collection.getSelectedChart().getPlot()));
}
protected void refreshContentPane(AbstractTableDataContentPane contentPane) {
if(dataContentPane != null) {
remove(dataContentPane);
}
dataContentPane = getContentPane(collection.getSelectedChart().getPlot());
dataContentPane = contentPane;
if(dataContentPane != null) {
add(dataContentPane, BorderLayout.CENTER);
}
}
/**
* 更新界面属性
*/

Loading…
Cancel
Save