@ -24,10 +24,10 @@ public class ReportTableModel extends AbstractTableModel{
@@ -24,10 +24,10 @@ public class ReportTableModel extends AbstractTableModel{
returngetData()[rowIndex][columnIndex];
}
/**
*@returnthedata
*@paramheadertheheadertoset
*/
publicObject[][]getData(){
returndata;
publicvoidsetHeader(String[]header){
this.header=header;
}
/**
*Настройказаголовковотчета
@ -44,6 +44,18 @@ public class ReportTableModel extends AbstractTableModel{
@@ -44,6 +44,18 @@ public class ReportTableModel extends AbstractTableModel{
//String[] h = new String[3 + 0];
//
}
/**
*@returntheheader
*/
publicString[]getHeader(){
returnheader;
}
/**
*
*/
publicvoidsetData(Object[][]data){
this.data=data;
}
/**
*
*/
@ -60,21 +72,10 @@ public class ReportTableModel extends AbstractTableModel{
@@ -60,21 +72,10 @@ public class ReportTableModel extends AbstractTableModel{