org.wicketstuff.jasperreports
Class JRTextResource

java.lang.Object
  extended by org.apache.wicket.request.resource.AbstractResource
      extended by org.wicketstuff.jasperreports.JRResource
          extended by org.wicketstuff.jasperreports.JRConcreteResource<TextResourceHandler>
              extended by org.wicketstuff.jasperreports.JRTextResource
All Implemented Interfaces:
Serializable, org.apache.wicket.request.resource.IResource

Deprecated. Use JRConcreteResource(*, new TextResourceHandler())

@Deprecated
public final class JRTextResource
extends JRConcreteResource<TextResourceHandler>

Resource class for jasper reports text resources.

Author:
Eelco Hillenius, cdeal
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wicket.request.resource.AbstractResource
org.apache.wicket.request.resource.AbstractResource.ResourceResponse, org.apache.wicket.request.resource.AbstractResource.WriteCallback
 
Nested classes/interfaces inherited from interface org.apache.wicket.request.resource.IResource
org.apache.wicket.request.resource.IResource.Attributes
 
Constructor Summary
JRTextResource()
          Deprecated. Construct without a report.
JRTextResource(File report)
          Deprecated. Construct.
JRTextResource(InputStream report)
          Deprecated. Construct.
JRTextResource(URL report)
          Deprecated. Construct.
 
Method Summary
 int getPageHeight()
          Deprecated. Gets page height.
 int getPageWidth()
          Deprecated. Gets page width.
 void setPageHeight(int height)
          Deprecated. Sets page height.
 void setPageWidth(int width)
          Deprecated. Sets page width.
 
Methods inherited from class org.wicketstuff.jasperreports.JRConcreteResource
getContentType, getExtension, getHandler, newExporter, setHandler
 
Methods inherited from class org.wicketstuff.jasperreports.JRResource
getConnectionProvider, getContentDisposition, getExporterData, getFileName, getJasperReport, getReportDataSource, getReportParameters, newJasperPrint, newResourceResponse, setConnectionProvider, setFileName, setJasperReport, setReportDataSource, setReportParameters
 
Methods inherited from class org.apache.wicket.request.resource.AbstractResource
configureCache, respond
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRTextResource

public JRTextResource()
Deprecated. 
Construct without a report. You must provide a report before you can use this resource.


JRTextResource

public JRTextResource(InputStream report)
Deprecated. 
Construct.

Parameters:
report - the report input stream

JRTextResource

public JRTextResource(URL report)
Deprecated. 
Construct.

Parameters:
report - the report input stream

JRTextResource

public JRTextResource(File report)
Deprecated. 
Construct.

Parameters:
report - the report input stream
Method Detail

getPageHeight

public int getPageHeight()
Deprecated. 
Gets page height.

Returns:
an integer representing the page height in characters

setPageHeight

public void setPageHeight(int height)
Deprecated. 
Sets page height.

Parameters:
height - an integer representing the page height in characters

getPageWidth

public int getPageWidth()
Deprecated. 
Gets page width.

Returns:
an integer representing the page width in characters

setPageWidth

public void setPageWidth(int width)
Deprecated. 
Sets page width.

Parameters:
width - an integer representing the page width in characters


Copyright © 2005-2011 Wicket developers. All Rights Reserved.