Class ProductChooser

    • Method Detail

      • show

        public int show()
        Description copied from class: AbstractDialog
        Shows the dialog. Overrides shall call super.show() at the end.
        Overrides:
        show in class AbstractDialog
        Returns:
        the identifier of the last button pressed or zero if this is a modeless dialog.
      • verifyUserInput

        protected boolean verifyUserInput()
        Description copied from class: AbstractDialog
        Called in order to perform input validation.
        Overrides:
        verifyUserInput in class AbstractDialog
        Returns:
        true if and only if the validation was successful.
      • getSelectedProducts

        public Product[] getSelectedProducts()