Class PARActionSearchDlg

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

public class PARActionSearchDlg extends JDialog implements ActionListener, ItemListener
Dialog for specifying the search criteria for A/R actions.
Author:
pashok
See Also:
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(PARActionItemSearchData pActionData, boolean bHasChildren)
      Initialize the dialog data. If the dialog has been launched the saved data will be used for populating the dialog. If it is being launched for the first time then default values will be used except for the account number and bill number The account number field will not be editable if the account has no subordinate children, otherwise you can edit it to specify a certain child account to refine the search.
      Parameters:
      pActionData - data for populating the dialog
      bHasChildren - indicates if the current account has any subordinate children.
    • includeChildren

      public int includeChildren()
      Indicates if include children is checked Returns 1 if selected or else 0
    • reset

      public void reset()
      Reset the values of the dialog to their default values
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Specified by:
      actionPerformed in interface ActionListener
    • isClosed

      public boolean isClosed()
      Indicates if the Close button was pressed
      Returns:
      True if the Close button was pressed or else false
    • getARActionType

      public String getARActionType()
      Gets the AR action selected
      Returns:
      the type fo AR Action
    • getSelectedIndex

      public int getSelectedIndex()
      Gets the selected index for the action
      Returns:
      the selected index
    • getFromCredit

      public BigDecimal getFromCredit()
      Gets the from credit value
      Returns:
      the from credit value
    • getToCredit

      public BigDecimal getToCredit()
      Gets the to credit value
      Returns:
      the to credit value
    • getFromDebit

      public BigDecimal getFromDebit()
      Gets the from debit value
      Returns:
      the from debit value
    • getToDebit

      public BigDecimal getToDebit()
      Gets the to debit value
      Returns:
      the to debit value
    • itemStateChanged

      public void itemStateChanged(ItemEvent e)
      Specified by:
      itemStateChanged in interface ItemListener
    • getActionItemData

      public PARActionItemSearchData getActionItemData()