Package net.sf.jasperreports.swing
Class JRDesignViewerController
- java.lang.Object
-
- net.sf.jasperreports.swing.JRViewerController
-
- net.sf.jasperreports.swing.JRDesignViewerController
-
public class JRDesignViewerController extends JRViewerController
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.swing.JRViewerController
isXML, jasperPrint, reloadSupported, renderersCache, reportFileName, type, TYPE_FILE_NAME, TYPE_INPUT_STREAM, TYPE_OBJECT
-
-
Constructor Summary
Constructors Constructor Description JRDesignViewerController(Locale locale, ResourceBundle resBundle)
JRDesignViewerController(JasperReportsContext jasperReportsContext, Locale locale, ResourceBundle resBundle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setReport(InputStream is, boolean isXmlReport)
protected void
setReport(String fileName, boolean isXmlReport)
-
Methods inherited from class net.sf.jasperreports.swing.JRViewerController
addListener, clear, fireListeners, fitPage, fitWidth, forceRefresh, getBundleString, getJasperPrint, getJasperReportsContext, getLocale, getPageCount, getPageFormat, getPageIndex, getPrintParts, getRenderersCache, getResourceBundle, getZoom, hasPages, isFitPage, isFitWidth, isReloadSupported, loadReport, loadReport, loadReport, refreshPage, reload, removeListener, setPageIndex, setZoomRatio
-
-
-
-
Constructor Detail
-
JRDesignViewerController
public JRDesignViewerController(Locale locale, ResourceBundle resBundle)
-
JRDesignViewerController
public JRDesignViewerController(JasperReportsContext jasperReportsContext, Locale locale, ResourceBundle resBundle)
-
-
Method Detail
-
setReport
protected void setReport(String fileName, boolean isXmlReport) throws JRException
- Overrides:
setReport
in classJRViewerController
- Throws:
JRException
-
setReport
protected void setReport(InputStream is, boolean isXmlReport) throws JRException
- Overrides:
setReport
in classJRViewerController
- Throws:
JRException
-
-