|
|
|
@ -24,20 +24,20 @@ public class TableDataPane extends FurtherBasicBeanPane<ChartCollection>{
|
|
|
|
|
private DatabaseTableDataPane tableDataPane; |
|
|
|
|
private AbstractTableDataContentPane dataContentPane; |
|
|
|
|
|
|
|
|
|
private ChartDataPane parent; |
|
|
|
|
|
|
|
|
|
protected AbstractTableDataContentPane getDataContentPane() { |
|
|
|
|
return dataContentPane; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private ChartDataPane parent; |
|
|
|
|
|
|
|
|
|
public TableDataPane(ChartDataPane parent) { |
|
|
|
|
this.parent = parent; |
|
|
|
|
initDataPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void initDataPane() { |
|
|
|
|
UILabel label = new BoldFontTextLabel(Inter.getLocText("Chart-DS_TableData") + ":", SwingConstants.RIGHT) ; |
|
|
|
|
label.setPreferredSize(new Dimension(ChartDataPane.LABEL_WIDTH,ChartDataPane.LABEL_HEIGHT)); |
|
|
|
|
UILabel label = new BoldFontTextLabel(Inter.getLocText("Chart-DS_TableData") + ":", SwingConstants.RIGHT) ; |
|
|
|
|
label.setPreferredSize(new Dimension(ChartDataPane.LABEL_WIDTH,ChartDataPane.LABEL_HEIGHT)); |
|
|
|
|
tableDataPane = new DatabaseTableDataPane(label) { |
|
|
|
|
@Override |
|
|
|
|
protected void userEvent() { |
|
|
|
@ -47,9 +47,9 @@ public class TableDataPane extends FurtherBasicBeanPane<ChartCollection>{
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
tableDataPane.setBorder(BorderFactory.createMatteBorder(0,6,0, 0, getBackground())); |
|
|
|
|
tableDataPane.setBorder(BorderFactory.createEmptyBorder(0,1,0,1)); |
|
|
|
|
tableDataPane.setBorder(BorderFactory.createEmptyBorder(0,1,0,1)); |
|
|
|
|
tableDataPane.setPreferredSize(new Dimension(205 , 20)); |
|
|
|
|
this.setBorder(BorderFactory.createEmptyBorder(TOP,0,0,0)); |
|
|
|
|
this.setBorder(BorderFactory.createEmptyBorder(TOP,0,0,0)); |
|
|
|
|
this.add(tableDataPane, BorderLayout.NORTH); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -120,8 +120,6 @@ public class TableDataPane extends FurtherBasicBeanPane<ChartCollection>{
|
|
|
|
|
add(dataContentPane, BorderLayout.CENTER); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 更新界面属性 |
|
|
|
|
*/ |
|
|
|
|