Class WGenCNAB

java.lang.Object
org.brerp.bancosbrasileiros.apps.form.GenCNAB
org.brerp.bancosbrasileiros.apps.form.WGenCNAB
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 WGenCNAB extends GenCNAB 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 CNAB on ZK interface
Version:
$Id: WGenCNAB.java, v1.0 23/09/2014 17:28:05, muriloht Exp $
Author:
muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
  • Constructor Details

    • WGenCNAB

      public WGenCNAB()
      Initialize Panel
  • Method Details

    • dispose

      public void dispose()
      Dispose
    • onEvent

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

      public void tableChanged(WTableModelEvent e)
      Table Model Listener
      Specified by:
      tableChanged in interface WTableModelListener
      Parameters:
      e - event
    • 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
    • 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>