org.wicketstuff.jasperreports
Class JRTextResource

java.lang.Object
  extended by org.apache.wicket.Resource
      extended by org.apache.wicket.markup.html.WebResource
          extended by org.apache.wicket.markup.html.DynamicWebResource
              extended by org.wicketstuff.jasperreports.JRResource
                  extended by org.wicketstuff.jasperreports.JRConcreteResource<TextResourceHandler>
                      extended by org.wicketstuff.jasperreports.JRTextResource
All Implemented Interfaces:
java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.IResourceListener

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.markup.html.DynamicWebResource
org.apache.wicket.markup.html.DynamicWebResource.ResourceState
 
Field Summary
 
Fields inherited from interface org.apache.wicket.IResourceListener
INTERFACE
 
Constructor Summary
JRTextResource()
          Deprecated. Construct without a report.
JRTextResource(java.io.File report)
          Deprecated. Construct.
JRTextResource(java.io.InputStream report)
          Deprecated. Construct.
JRTextResource(java.net.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, 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

JRTextResource

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


JRTextResource

public JRTextResource(java.io.InputStream report)
Deprecated. 
Construct.

Parameters:
report - the report input stream

JRTextResource

public JRTextResource(java.net.URL report)
Deprecated. 
Construct.

Parameters:
report - the report input stream

JRTextResource

public JRTextResource(java.io.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-2010 Wicket developers. All Rights Reserved.