Class PARPaymentSearchDlg

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

public class PARPaymentSearchDlg extends JDialog implements ActionListener
Dialog for specifying the search criteria for payments.
See Also:
  • Constructor Details

    • PARPaymentSearchDlg

      public PARPaymentSearchDlg(Frame frame, String title, boolean modal)
    • PARPaymentSearchDlg

      public PARPaymentSearchDlg()
  • Method Details

    • isDateRangeLastNMonths

      public boolean isDateRangeLastNMonths()
      Returns true if the date range is the last n months
      Returns:
      true if selected
    • getFromAmount

      public BigDecimal getFromAmount()
      Gets the from amount value
      Returns:
      From amount value
    • getToAmount

      public BigDecimal getToAmount()
      Returns true if the date range is the last n months
      Returns:
      to amount value
    • isDateRangeBetween

      public boolean isDateRangeBetween()
      Returns true if the date range is between 2 dates
      Returns:
      true if items returned should be between a date range
    • isDateRangeAllDates

      public boolean isDateRangeAllDates()
      Returns true if the date range is all dates
      Returns:
      true if all date ranges is selected
    • getNMonths

      public Integer getNMonths()
      Gets the number of months specified
      Returns:
      the number of months specified
    • isItAllAmounts

      public boolean isItAllAmounts()
      Returns true if items for all amounts can be fetched
      Returns:
      true if items returned can be of any amount
    • canShowAllocated

      public boolean canShowAllocated()
      Returns true if allocated items can be fetched
      Returns:
      true if allocated payments need to be fetched
    • canShowUnallocated

      public boolean canShowUnallocated()
      Returns true if unallocated payments can be fetched
      Returns:
      true if unallocated payments need to be fetched
    • getFromDate

      public Date getFromDate()
      Gets the "From Date"
      Returns:
      the from date specified
    • getToDate

      public Date getToDate()
      Gets the "To Date"
      Returns:
      the to date specified
    • isClosed

      public boolean isClosed()
      Returns true if dialog was closed via the Close button.
      Returns:
      true if dialog was closed via the close button
    • actionPerformed

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