Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Misc
Class VisualipReport  view VisualipReport download VisualipReport.java

java.lang.Object
  extended byMisc.VisualipReport

public class VisualipReport
extends java.lang.Object


Field Summary
private  Interface.PacketTableModel ptm
           
 
Constructor Summary
VisualipReport(Interface.PacketTableModel ptm)
           
 
Method Summary
 void attemptPreview()
          Handles a request to preview a report.
 void preview(java.lang.String urlname, javax.swing.table.TableModel data)
          Displays a preview frame for report defined in the file specified by urlname.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ptm

private Interface.PacketTableModel ptm
Constructor Detail

VisualipReport

public VisualipReport(Interface.PacketTableModel ptm)
Method Detail

attemptPreview

public void attemptPreview()
Handles a request to preview a report. First determines which data set is visible, then calls the appropriate preview method.


preview

public void preview(java.lang.String urlname,
                    javax.swing.table.TableModel data)
Displays a preview frame for report defined in the file specified by urlname. The contents of the url are parsed and the report is fed into a new PreviewPane. The given TableModel is assigned to the report as report data source.

If the report contains external references in specified in relative urls, the urls are loaded using the reports parent directory as content base.