Class WGenBilling

java.lang.Object
org.brerp.bancosbrasileiros.apps.form.GenBilling
org.brerp.bancosbrasileiros.apps.form.WGenBilling
All Implemented Interfaces:
ValueChangeListener, WTableModelListener, IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, org.zkoss.zul.ext.Sortable<Object>

public class WGenBilling extends GenBilling implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, WTableModelListener, ValueChangeListener, org.zkoss.zul.ext.Sortable<Object>
Form used to Generate Bills on ZK interface
Version:
$Id: WGenBilling.java, v1.0 23/09/2014 09:12:49, muriloht Exp $, $Id: WGenBilling.java, 21/12/2015 08:25:44 gschneider
Author:
muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
  • Constructor Details

    • WGenBilling

      public WGenBilling()
      Initialize Panel
  • Method Details

    • dynInit

      public void dynInit() throws Exception
      Dynamic Init. - Load Bank Info - Load BPartner - Init Table
      Throws:
      Exception
    • dispose

      public void dispose()
      Dispose
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event e) throws Exception
      ActionListener
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      Parameters:
      e - event
      Throws:
      Exception
    • calculateSelection

      public void calculateSelection()
      Calculate selected rows. - add up selected rows
    • getForm

      public ADForm getForm()
      Return AD Form for ZK
      Specified by:
      getForm in interface IFormController
      Returns:
    • valueChange

      public void valueChange(ValueChangeEvent e)
      Value Change Listener - requery
      Specified by:
      valueChange in interface ValueChangeListener
      Parameters:
      e - event
    • tableChanged

      public void tableChanged(WTableModelEvent event)
      Description copied from interface: WTableModelListener
      Notify listeners the exact range of cells, rows, or columns that have changed.
      Specified by:
      tableChanged in interface WTableModelListener
      Parameters:
      event - table model event
    • sort

      public void sort(Comparator<Object> cmpr, boolean ascending)
      Specified by:
      sort in interface org.zkoss.zul.ext.Sortable<Object>
    • getSortDirection

      public String getSortDirection(Comparator<Object> cmpr)
      Specified by:
      getSortDirection in interface org.zkoss.zul.ext.Sortable<Object>