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)
-
Field Summary
Fields inherited from class org.brerp.bancosbrasileiros.apps.form.GenBilling
itensAProcessar, log, m_AD_Org_ID, m_C_BPartner_ID, m_CreateCNAB, m_DocType_ID, m_format, m_LBR_DocFiscal_ID, m_noSelected, m_OnlyAutNF, m_User1_ID, m_User2_ID, m_WindowNo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Calculate selected rowsvoid
dispose()
Disposevoid
dynInit()
Dynamic InitgetForm()
Return AD Form for ZKgetSortDirection
(Comparator<Object> cmpr) void
onEvent
(org.zkoss.zk.ui.event.Event e) ActionListenervoid
sort
(Comparator<Object> cmpr, boolean ascending) void
tableChanged
(WTableModelEvent event) Notify listeners the exact range of cells, rows, or columns that have changed.void
Value Change Listener - requeryMethods inherited from class org.brerp.bancosbrasileiros.apps.form.GenBilling
calculateSelection, deleteDir, exportBilling, generateBilling, getBankIntegrationData, getPrinterData, getTituloGeradoBoleto, loadTableInfo, prepareTable, printBilling, sendEmail
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.zkoss.zul.ext.Sortable
sort
-
Constructor Details
-
WGenBilling
public WGenBilling()Initialize Panel
-
-
Method Details
-
dynInit
Dynamic Init. - Load Bank Info - Load BPartner - Init Table- Throws:
Exception
-
dispose
public void dispose()Dispose -
onEvent
ActionListener- Specified by:
onEvent
in interfaceorg.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
Return AD Form for ZK- Specified by:
getForm
in interfaceIFormController
- Returns:
-
valueChange
Value Change Listener - requery- Specified by:
valueChange
in interfaceValueChangeListener
- Parameters:
e
- event
-
tableChanged
Description copied from interface:WTableModelListener
Notify listeners the exact range of cells, rows, or columns that have changed.- Specified by:
tableChanged
in interfaceWTableModelListener
- Parameters:
event
- table model event
-
sort
- Specified by:
sort
in interfaceorg.zkoss.zul.ext.Sortable<Object>
-
getSortDirection
- Specified by:
getSortDirection
in interfaceorg.zkoss.zul.ext.Sortable<Object>
-