Class TableReportData

  • All Implemented Interfaces:
    DataSet, ReportData

    public class TableReportData
    extends java.lang.Object
    implements ReportData
    Creation-Date: 19.02.2006, 17:00:10
    Author:
    Thomas Morgner
    • Constructor Summary

      Constructors 
      Constructor Description
      TableReportData​(javax.swing.table.TableModel tableModel)  
      TableReportData​(javax.swing.table.TableModel tableModel, int start, int length)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      Closes the datasource.
      java.lang.Object get​(int column)  
      int getColumnCount()  
      java.lang.String getColumnName​(int column)  
      int getCursorPosition()  
      boolean isAdvanceable()
      This operation checks, whether a call to next will be likely to succeed.
      boolean isReadable()
      Checks, whether this report-data instance is currently readable.
      boolean next()
      This method produces the same result as 'setCursorPosition(getCursorPosition() + 1);'
      boolean setCursorPosition​(int row)
      Moves the cursor back to an already visited position.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TableReportData

        public TableReportData​(javax.swing.table.TableModel tableModel)
      • TableReportData

        public TableReportData​(javax.swing.table.TableModel tableModel,
                               int start,
                               int length)