KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > table > TableModel


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.wcf.table;
14
15 /**
16  * The data for a table
17  */

18
19 public interface TableModel {
20   String JavaDoc getTitle();
21   int getRowCount();
22   TableRow getRow(int rowIndex);
23   int getColumnCount();
24   String JavaDoc getColumnTitle(int columnIndex);
25   
26   void addTableModelChangeListener(TableModelChangeListener listener);
27   void removeTableModelChangeListener(TableModelChangeListener listener);
28   void fireModelChanged(boolean identityChanged);
29 }
30
Popular Tags