Package org.adempiere.webui.apps.form
Class WAllocation
- java.lang.Object
-
- org.compiere.apps.form.Allocation
-
- org.adempiere.webui.apps.form.WAllocation
-
- All Implemented Interfaces:
ValueChangeListener
,WTableModelListener
,IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WAllocation extends Allocation implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, WTableModelListener, ValueChangeListener
Allocation Form- Version:
- $Id: VAllocation.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $ Contributor : Fabian Aguilar - OFBConsulting - Multiallocation
- Author:
- Jorg Janke
-
-
Field Summary
-
Fields inherited from class org.compiere.apps.form.Allocation
allocDate, format, log, m_AD_Org_ID, m_C_BPartner_ID, m_C_Charge_ID, m_C_Currency_ID, m_C_DocType_ID, totalDiff, totalInv, totalPay
-
-
Constructor Summary
Constructors Constructor Description WAllocation()
Initialize Panel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculate()
void
dynInit()
Dynamic Init (prepare dynamic fields)ADForm
getForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)protected void
layoutParameterAndSummary()
protected void
onClientInfo()
void
onEvent(org.zkoss.zk.ui.event.Event e)
Action Listenerprotected void
setupParameterColumns()
void
tableChanged(WTableModelEvent e)
Table Model Listenervoid
valueChange(ValueChangeEvent e)
Vetoable Change Listener-
Methods inherited from class org.compiere.apps.form.Allocation
calculate, calculateInvoice, calculatePayment, checkBPartner, getInvoiceColumnNames, getInvoiceData, getPaymentColumnNames, getPaymentData, saveData, setInvoiceColumnClass, setPaymentColumnClass, writeOff
-
-
-
-
Method Detail
-
layoutParameterAndSummary
protected void layoutParameterAndSummary()
-
setupParameterColumns
protected void setupParameterColumns()
-
dynInit
public void dynInit() throws Exception
Dynamic Init (prepare dynamic fields)- Overrides:
dynInit
in classAllocation
- Throws:
Exception
- if Lookups cannot be initialized
-
onClientInfo
protected void onClientInfo()
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event e)
Action Listener. - MultiCurrency - Allocate- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Parameters:
e
- event
-
tableChanged
public void tableChanged(WTableModelEvent e)
Table Model Listener. - Recalculate Totals- Specified by:
tableChanged
in interfaceWTableModelListener
- Parameters:
e
- event
-
valueChange
public void valueChange(ValueChangeEvent e)
Vetoable Change Listener. - Business Partner - Currency - Date- Specified by:
valueChange
in interfaceValueChangeListener
- Parameters:
e
- event
-
calculate
public void calculate()
-
getForm
public ADForm getForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-
-