Package org.adempiere.webui.apps
Class WReport
java.lang.Object
org.adempiere.webui.apps.WReport
- All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WReport
extends Object
implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Launch report for table (immediate or through popup menu, depends on number of print format discover
for AD_Table_ID and AD_Window_ID).
- Author:
- Low Heng Sin
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getAD_Table_ID
(String tableName) Get AD_Table_ID for Table Namevoid
onEvent
(org.zkoss.zk.ui.event.Event event)
-
Field Details
-
parent
protected org.zkoss.zk.ui.Component parentThe invoking parent component -
WindowNo
protected int WindowNoThe parent window number
-
-
Constructor Details
-
WReport
- Parameters:
AD_Table_ID
- tablequery
- query
-
WReport
- Parameters:
AD_Table_ID
- tablequery
- queryparent
- The invoking parent componentWindowNo
- The invoking parent window number
-
WReport
public WReport(int AD_Table_ID, MQuery query, org.zkoss.zk.ui.Component parent, int WindowNo, String whereExtended) Launch report immediately (if only one print format found) or show menu popup for the list of print formats discover for AD_Table_ID and AD_Window_ID (from WindowNo).- Parameters:
AD_Table_ID
- tablequery
- queryparent
- The invoking parent windowWindowNo
- The invoking parent window numberwhereExtended
-
-
-
Method Details
-
getAD_Table_ID
Get AD_Table_ID for Table Name- Parameters:
tableName
- table name- Returns:
- AD_Table_ID or 0
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event event) - Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
-