public class

StaticTableDocument

extends AbstractTableDocument
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.events.EventSource
     ↳ com.pnfsoftware.jeb.core.output.table.impl.AbstractTableDocument
       ↳ com.pnfsoftware.jeb.core.output.table.impl.StaticTableDocument

Class Overview

A simple table document. Such table document objects do not listen to unit changes events; in fact, they are unaware of the IUnit family of classes. They are ideal to distribute static, immutable contents. More complex table documents should implement ITableDocument and/or extend AbstractTableDocument.

Summary

Public Constructors
StaticTableDocument(List<String> columnLabels, List<? extends ITableRow> rows)
Create a static table document containing the provided rows.
Public Methods
List<String> getColumnLabels()
int getRowCount()
ITableDocumentPart getTable()
ITableDocumentPart getTablePart(int start, int count)
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.core.output.table.impl.AbstractTableDocument
From class com.pnfsoftware.jeb.util.events.EventSource
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.output.IGenericDocument
From interface com.pnfsoftware.jeb.core.output.table.ITableDocument
From interface com.pnfsoftware.jeb.util.events.IEventSource

Public Constructors

public StaticTableDocument (List<String> columnLabels, List<? extends ITableRow> rows)

Create a static table document containing the provided rows.

Parameters
columnLabels cannot be null or empty
rows cannot be null

Public Methods

public List<String> getColumnLabels ()

public int getRowCount ()

public ITableDocumentPart getTable ()

public ITableDocumentPart getTablePart (int start, int count)