Class PARAllocateDlg

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

public class PARAllocateDlg extends JDialog implements ActionListener, PCustomDialog
Dialog that contains a PARAllocatePanel which allow allocation of payment or adjustment
See Also:
  • Field Details

    • bundle

      protected static ResourceBundle bundle
    • title

      public String title
    • isAllocatePymt

      public boolean isAllocatePymt
  • Constructor Details

    • PARAllocateDlg

      public PARAllocateDlg(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 (payment/adjustment) item to be allocated.
      Specified by:
      setModelHandle in interface PCustomDialog
      Parameters:
      hItem - The modelHandle of the payment/adjustment item to be allocated Fields expected in the modelhandle are FldTotalAmount and FldPoid
    • setNegative

      public void setNegative(boolean s)
      Set the flag negAllocate to true if the allocate dialog is allocation negative balances
      Parameters:
      s -
    • 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
    • getControllerInst

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

      public void addNotify()
      Overrides:
      addNotify in class Dialog
    • removeNotify

      public void removeNotify()
      Overrides:
      removeNotify in class Window
    • actionPerformed

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