Package org.adempiere.webui.apps.form
Class WCharge
- java.lang.Object
-
- org.compiere.apps.form.Charge
-
- org.adempiere.webui.apps.form.WCharge
-
- All Implemented Interfaces:
IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WCharge extends Charge implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
This class represents the Custom Form for generating charges from natural accounts. The form is comprised of two parts. The upper portion can be used to create new charges using the general charge accounts. The lower portion can be used to create charges based on the natural account.- Author:
- Andrew Kimball
-
-
Field Summary
-
Fields inherited from class org.compiere.apps.form.Charge
listCreated, listRejected, m_C_Element_ID, m_WindowNo
-
-
Constructor Summary
Constructors Constructor Description WCharge()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
createConfirmPanel()
Create Confirmation Panel with OK Button.ADForm
getForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)protected void
initForm()
Initialises the panel.void
onEvent(org.zkoss.zk.ui.event.Event event)
Event Listener.-
Methods inherited from class org.compiere.apps.form.Charge
createAccount, createCharge, createElementValue, findChargeElementID, findTaxCategoryID, getColumnNames, getData, setColumnClass
-
-
-
-
Method Detail
-
initForm
protected void initForm()
Initialises the panel.
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event event)
Event Listener.- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Parameters:
event
- event that has been fired.
-
createConfirmPanel
public void createConfirmPanel()
Create Confirmation Panel with OK Button.
-
close
public void close()
-
getForm
public ADForm getForm()
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-
-