| 1 | package net.sf.madmap; |
| 2 | |
| 3 | import javax.swing.table.AbstractTableModel; |
| 4 | |
| 5 | public abstract class MadmapTableModel extends AbstractTableModel { |
| 6 | |
| 7 | Madmap controller; |
| 8 | |
| 9 | /** |
| 10 | * @return the controller |
| 11 | */ |
| 12 | public Madmap getController() { |
| 13 | return controller; |
| 14 | } |
| 15 | /** |
| 16 | * @param controller the controller to set |
| 17 | */ |
| 18 | public void setController(Madmap controller) { |
| 19 | this.controller = controller; |
| 20 | } |
| 21 | public MadmapTableModel( Madmap m) { |
| 22 | controller = m; |
| 23 | } |
| 24 | public int getColumnCount() { |
| 25 | // TODO Auto-generated method stub |
| 26 | return 0; |
| 27 | } |
| 28 | |
| 29 | public int getRowCount() { |
| 30 | // TODO Auto-generated method stub |
| 31 | return 0; |
| 32 | } |
| 33 | |
| 34 | public Object getValueAt(int arg0, int arg1) { |
| 35 | // TODO Auto-generated method stub |
| 36 | return null; |
| 37 | } |
| 38 | |
| 39 | } |