|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.wicket.Resource
org.apache.wicket.markup.html.WebResource
org.apache.wicket.markup.html.DynamicWebResource
wicket.contrib.jasperreports.JRResource
wicket.contrib.jasperreports.JRTextResource
public final class JRTextResource
Resource class for jasper reports text resources.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class wicket.contrib.jasperreports.JRResource |
|---|
JRResource.IDatabaseConnectionProvider |
| Nested classes/interfaces inherited from class org.apache.wicket.markup.html.DynamicWebResource |
|---|
org.apache.wicket.markup.html.DynamicWebResource.ResourceState |
| Field Summary |
|---|
| Fields inherited from interface org.apache.wicket.IResourceListener |
|---|
INTERFACE |
| Constructor Summary | |
|---|---|
JRTextResource()
Construct without a report. |
|
JRTextResource(java.io.File report)
Construct. |
|
JRTextResource(java.io.InputStream report)
Construct. |
|
JRTextResource(java.net.URL report)
Construct. |
|
| Method Summary | |
|---|---|
java.lang.String |
getContentType()
|
java.lang.String |
getExtension()
Returns the extension for the resource's file. |
int |
getPageHeight()
Gets page height. |
int |
getPageWidth()
Gets page width. |
net.sf.jasperreports.engine.JRAbstractExporter |
newExporter()
Called by getData to obtain an exporter instance. |
void |
setPageHeight(int height)
Sets page height. |
void |
setPageWidth(int width)
Sets page width. |
| Methods inherited from class wicket.contrib.jasperreports.JRResource |
|---|
getConnectionProvider, getFileName, getJasperReport, getReportDataSource, getReportParameters, getResourceState, newJasperPrint, setConnectionProvider, setFileName, setHeaders, setJasperReport, setReportDataSource, setReportParameters |
| Methods inherited from class org.apache.wicket.markup.html.DynamicWebResource |
|---|
getLocale, getResourceStream |
| Methods inherited from class org.apache.wicket.markup.html.WebResource |
|---|
configureResponse, getCacheDuration |
| Methods inherited from class org.apache.wicket.Resource |
|---|
getParameters, invalidate, isCacheable, onResourceRequested, setCacheable, setParameters |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JRTextResource()
public JRTextResource(java.io.InputStream report)
report - the report input streampublic JRTextResource(java.net.URL report)
report - the report input streampublic JRTextResource(java.io.File report)
report - the report input stream| Method Detail |
|---|
public net.sf.jasperreports.engine.JRAbstractExporter newExporter()
JRResource
newExporter in class JRResourceJRResource.newExporter()public java.lang.String getContentType()
getContentType in class JRResourceJRResource.getContentType()public int getPageHeight()
public void setPageHeight(int height)
height - an integer representing the page height in characterspublic int getPageWidth()
public void setPageWidth(int width)
width - an integer representing the page width in characterspublic java.lang.String getExtension()
JRResource
getExtension in class JRResourceJRResource.getExtension()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||