Class WAllocation

All Implemented Interfaces:
ValueChangeListener, WTableModelListener, IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class WAllocation extends BrERPAllocation 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
  • Constructor Details

    • WAllocation

      public WAllocation()
      Initialize Panel
      Parameters:
      WindowNo - window
      frame - frame
  • Method Details

    • layoutParameterAndSummary

      protected void layoutParameterAndSummary()
    • setupParameterColumns

      protected void setupParameterColumns()
    • dynInit

      public void dynInit() throws Exception
      Dynamic Init (prepare dynamic fields)
      Overrides:
      dynInit in class BrERPAllocation
      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 interface org.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 interface WTableModelListener
      Parameters:
      e - event
    • valueChange

      public void valueChange(ValueChangeEvent e)
      Vetoable Change Listener. - Business Partner - Currency - Date
      Specified by:
      valueChange in interface ValueChangeListener
      Parameters:
      e - event
    • calculate

      public void calculate()
    • getForm

      public ADForm getForm()
      Called by org.adempiere.webui.panel.ADForm.openForm(int)
      Specified by:
      getForm in interface IFormController
      Returns: