Class 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>
    Base on org.compiere.print.AReport
    Author:
    Low Heng Sin
    • Constructor Detail

      • WReport

        public WReport​(int AD_Table_ID,
                       MQuery query)
        Constructor
        Parameters:
        AD_Table_ID - table
        query - query
      • WReport

        public WReport​(int AD_Table_ID,
                       MQuery query,
                       org.zkoss.zk.ui.Component parent,
                       int WindowNo)
        Constructor
        Parameters:
        AD_Table_ID - table
        query - query
        parent - The invoking parent window
        WindowNo - The invoking parent window number
      • WReport

        public WReport​(int AD_Table_ID,
                       MQuery query,
                       org.zkoss.zk.ui.Component parent,
                       int WindowNo,
                       String whereExtended)
        Constructor
        Parameters:
        AD_Table_ID - table
        query - query
        parent - The invoking parent window
        WindowNo - The invoking parent window number
        whereExtended -
    • Method Detail

      • getAD_Table_ID

        public static int getAD_Table_ID​(String tableName)
        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 interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>