Package org.adempiere.webui.apps.form
Class WReportCustomization
java.lang.Object
org.adempiere.webui.apps.form.WReportCustomization
- All Implemented Interfaces:
IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WReportCustomization
extends Object
implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Form to customize print format of a
Open from
ReportEngine
instance (i.e starting from report output).Open from
ZkReportViewer
.-
Field Summary
Modifier and TypeFieldDescriptionprotected int
protected MPrintFormat
Print format fromReportEngine.getPrintFormat()
protected boolean
true ifname
has changeprotected ArrayList<MPrintFormatItem>
Print format items fromReportEngine.getPrintFormat()
protected Tab
protected Tab
protected Tab
protected Tab
protected Tab
protected WRC1DisplayFieldsPanel
protected WRC2FieldOrderPanel
protected WRC4GroupingCriteriaPanel
protected WRC3SortCriteriaPanel
protected WRC5SummaryFieldsPanel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Close form.void
Create new print format from m_reportEngine.getPrintFormat().getForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)void
onEvent
(org.zkoss.zk.ui.event.Event event) void
setIsChanged
(boolean change) void
Set report engine.
-
Field Details
-
curStep
protected int curStep -
pfi
Print format items fromReportEngine.getPrintFormat()
-
isChange
protected boolean isChangetrue ifname
has change -
fm
Print format fromReportEngine.getPrintFormat()
-
tabdf1
-
tabfo2
-
tabsc3
-
tabgc4
-
tabsf5
-
tpdf1
-
tpfo2
-
tpsc3
-
tpgc4
-
tpsf5
-
-
Constructor Details
-
WReportCustomization
public WReportCustomization()Default constructor- Throws:
Exception
-
-
Method Details
-
setReportEngine
Set report engine.- Throws:
Exception
-
onEvent
- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Throws:
Exception
-
getForm
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-
close
public void close()Close form. -
copyFormat
public void copyFormat()Create new print format from m_reportEngine.getPrintFormat(). -
setIsChanged
public void setIsChanged(boolean change) - Parameters:
change
-
-