org.tigris.scarab.reports
Class ReportTableModel

java.lang.Object
  extended byorg.tigris.scarab.util.TableModel
      extended byorg.tigris.scarab.reports.ReportTableModel

public class ReportTableModel
extends TableModel

This class represents a ReportTableModel.

Version:
$Id: ReportTableModel.java 10051 2006-04-13 19:05:58Z jorgeuriarte $
Author:
John McNally

Nested Class Summary
 
Nested classes inherited from class org.tigris.scarab.util.TableModel
TableModel.ColumnHeading, TableModel.Heading, TableModel.RowHeading
 
Constructor Summary
(package private) ReportTableModel(ReportBridge report, java.util.Date date, ScarabUser searcher)
           
 
Method Summary
 java.lang.String displayAttribute(java.lang.Object cell)
           
 java.lang.String displayOption(ReportOptionAttribute cell)
           
 java.lang.String displayUser(ReportUserAttribute cell)
           
 int getColspan(int index)
           
 int getColumnCount()
           
 java.util.List getColumnHeadings()
          Get the ColumnHeadings value.
 int getIssueCount(java.lang.Object[] dataArray, java.util.Date date)
           
 int getRowCount()
           
 java.util.List getRowHeadings()
          Get the RowHeadings value.
 int getRowspan(int index)
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean isAttributeAndUser(java.lang.Object obj)
           
 boolean isOption(java.lang.Object obj)
           
 boolean isOptionGroup(java.lang.Object obj)
           
 boolean isReportDate(java.lang.Object obj)
           
 boolean isUser(java.lang.Object obj)
           
 
Methods inherited from class org.tigris.scarab.util.TableModel
getHeadings, getRows, isColumnHeading, isDate, isHeading, setHeadings, setRows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportTableModel

ReportTableModel(ReportBridge report,
                 java.util.Date date,
                 ScarabUser searcher)
           throws java.lang.Exception
Method Detail

getRowHeadings

public java.util.List getRowHeadings()
Get the RowHeadings value.

Returns:
the RowHeadings value.

getColumnHeadings

public java.util.List getColumnHeadings()
Get the ColumnHeadings value.

Returns:
the ColumnHeadings value.

getColspan

public int getColspan(int index)

getRowspan

public int getRowspan(int index)

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in class TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in class TableModel

getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)
                            throws java.lang.Exception
Specified by:
getValueAt in class TableModel
Throws:
java.lang.Exception

getIssueCount

public int getIssueCount(java.lang.Object[] dataArray,
                         java.util.Date date)
                  throws java.lang.Exception
Throws:
java.lang.Exception

isOption

public boolean isOption(java.lang.Object obj)

isOptionGroup

public boolean isOptionGroup(java.lang.Object obj)

isAttributeAndUser

public boolean isAttributeAndUser(java.lang.Object obj)

isUser

public boolean isUser(java.lang.Object obj)

isReportDate

public boolean isReportDate(java.lang.Object obj)

displayAttribute

public java.lang.String displayAttribute(java.lang.Object cell)

displayOption

public java.lang.String displayOption(ReportOptionAttribute cell)

displayUser

public java.lang.String displayUser(ReportUserAttribute cell)


Copyright © 2000-2004 Tigris.org. All Rights Reserved.