~ubuntu-branches/ubuntu/raring/libpal-java/raring

« back to all changes in this revision

Viewing changes to src/pal/misc/TableReport.java

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2012-01-27 13:57:54 UTC
  • Revision ID: package-import@ubuntu.com-20120127135754-d63l3581f65fw9pk
Tags: upstream-1.5.1
ImportĀ upstreamĀ versionĀ 1.5.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// TableReport.java
 
2
//
 
3
// (c) 1999-2001 PAL Development Core Team
 
4
//
 
5
// This package may be distributed under the
 
6
// terms of the Lesser GNU General Public License (LGPL)
 
7
 
 
8
package pal.misc;
 
9
 
 
10
/**
 
11
 * interface for classes with data that can be presented in tables
 
12
 *
 
13
 * @version $Id: TableReport.java,v 1.3 2001/11/20 19:58:45 alexi Exp $
 
14
 *
 
15
 * @author Ed Buckler
 
16
 */
 
17
 
 
18
public interface TableReport {
 
19
 
 
20
  /**
 
21
   * get the names of the columns
 
22
   *
 
23
   * @return columns names
 
24
   */
 
25
  Object[] getTableColumnNames() ;
 
26
 
 
27
    /**
 
28
   * get the data elements
 
29
   *
 
30
   * @return the data elements
 
31
   */
 
32
  Object[][] getTableData();
 
33
 
 
34
      /**
 
35
   * get the title of the table
 
36
   *
 
37
   * @return a String title
 
38
   */
 
39
  String getTableTitle();
 
40
 
 
41
}