Package org.adempiere.webui.apps.form
Class WFactReconcile
- java.lang.Object
-
- org.compiere.apps.form.FactReconcile
-
- org.adempiere.webui.apps.form.WFactReconcile
-
- All Implemented Interfaces:
ValueChangeListener
,WTableModelListener
,IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WFactReconcile extends FactReconcile implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, WTableModelListener, ValueChangeListener
-
-
Field Summary
-
Fields inherited from class org.compiere.apps.form.FactReconcile
amtColIndex, col_AD_Org_ID, col_C_AcctSchema_ID, col_C_BPartner_ID, col_M_Product_ID, idColIndex, m_Account_ID, m_AD_Client_ID, m_AD_Org_ID, m_C_AcctSchema_ID, m_C_BPartner_ID, m_DateAcct, m_DateAcct2, m_isReconciled, m_M_Product_ID, selectedColIndex
-
-
Constructor Summary
Constructors Constructor Description WFactReconcile()
Initialize Panel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calculateSelection()
Calculate selected rowsvoid
dynInit()
Dynamic Init (prepare dynamic fields)ADForm
getForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)void
loadData()
void
onEvent(org.zkoss.zk.ui.event.Event event)
void
tableChanged(WTableModelEvent event)
This fine grain notification tells listeners the exact range of cells, rows, or columns that changed.void
valueChange(ValueChangeEvent evt)
protected void
zoom(int tableID)
Zoom to target-
Methods inherited from class org.compiere.apps.form.FactReconcile
generate, getAccount, getColumnNames, getData, reset, setColumnClass
-
-
-
-
Method Detail
-
dynInit
public void dynInit() throws Exception
Dynamic Init (prepare dynamic fields)- Overrides:
dynInit
in classFactReconcile
- Throws:
Exception
- if Lookups cannot be initialized
-
loadData
public void loadData()
-
calculateSelection
public void calculateSelection()
Calculate selected rows. - add up selected rows
-
valueChange
public void valueChange(ValueChangeEvent evt)
- Specified by:
valueChange
in interfaceValueChangeListener
-
tableChanged
public void tableChanged(WTableModelEvent event)
Description copied from interface:WTableModelListener
This fine grain notification tells listeners the exact range of cells, rows, or columns that changed.- Specified by:
tableChanged
in interfaceWTableModelListener
- Parameters:
event
- table model event
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event event) throws Exception
- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Throws:
Exception
-
zoom
protected void zoom(int tableID)
Zoom to target- Parameters:
tableID
- table id
-
getForm
public ADForm getForm()
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-
-