|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Jasperreport
The JasperReport component. It is used to generate a Jasper report into an inline frame.
Available in ZK PE and ZK EE.
Note: this component is serializable only if the data source (
getDatasource()
) is serializable.
Field Summary |
---|
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Method Summary | |
---|---|
net.sf.jasperreports.engine.JRDataSource |
getDatasource()
Returns the JasperReports DataSource. |
java.util.Locale |
getLocale()
Returns the output file locale. |
java.util.Map |
getParameters()
Returns the JasperReports Parameters. |
java.lang.String |
getType()
Returns the output file type. |
void |
setDatasource(net.sf.jasperreports.engine.JRDataSource dataSource)
Sets the JasperReports DataSource. |
void |
setLocale(java.util.Locale locale)
Sets the output file locale. |
void |
setParameters(java.util.Map parameters)
Sets the JasperReports Parameters. |
void |
setType(java.lang.String type)
Sets the output file type. |
Methods inherited from interface org.zkoss.zul.api.Iframe |
---|
getAlign, getContent, getName, getScrolling, getSrc, isAutohide, setAlign, setAutohide, setContent, setName, setScrolling, setSrc |
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
java.util.Map getParameters()
Default: null.
void setParameters(java.util.Map parameters)
parameters
- use to fill the reportnet.sf.jasperreports.engine.JRDataSource getDatasource()
Default: null.
void setDatasource(net.sf.jasperreports.engine.JRDataSource dataSource)
dataSource
- use to fill the reportjava.lang.String getType()
Default: pdf.
void setType(java.lang.String type)
type
- type of output file. If type is null, assign it a default
value "pdf".java.util.Locale getLocale()
Default: null (means the ZK default, Locales.getCurrent()
)).
getLocale() |
getParameters() with a valueassociated with JRParameter.REPORT_LOCALE |
What is used |
X | ignored | X |
null | Y | Y |
null | null | Locales.getCurrent() |
void setLocale(java.util.Locale locale)
locale
- the locale. If null, the ZK default is used (
Locales.getCurrent()
).getLocale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |