Class PARDebitAllocateDlg

All Implemented Interfaces:
PCustomDialog, ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants

public class PARDebitAllocateDlg extends JDialog implements ActionListener, PCustomDialog
Dialog that contains a PARDebitAllocatePanel which allow Debit allocation of adjustment
See Also:
  • Constructor Details

    • PARDebitAllocateDlg

      public PARDebitAllocateDlg(JFrame frame, String title, boolean modal)
  • Method Details

    • setModelHandle

      public void setModelHandle(PModelHandle hItem)
      set the total amount to be allocated and the PModelHandle of the (adjustment) item to be allocated.
      Specified by:
      setModelHandle in interface PCustomDialog
      Parameters:
      hItem - The modelHandle of the adjustment item to be allocated Fields expected in the modelhandle are FldTotalAmount and FldPoid
    • getControllerClassName

      public String getControllerClassName()
      Description copied from interface: PCustomDialog
      Gets the controller class name
      Specified by:
      getControllerClassName in interface PCustomDialog
    • showDialog

      public void showDialog()
      Description copied from interface: PCustomDialog
      Sets the dialog showing activity
      Specified by:
      showDialog in interface PCustomDialog
    • setDialogDispose

      public void setDialogDispose()
      This will set that the dialog needs to be disposed which will be used by the showDialog() moethod.
    • getControllerInst

      public Object getControllerInst()
      Description copied from interface: PCustomDialog
      Gets the controller instance
      Specified by:
      getControllerInst in interface PCustomDialog
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Specified by:
      actionPerformed in interface ActionListener