Interface IFormButtonService

  • All Known Implementing Classes:
    FormButtonService

    public interface IFormButtonService
    The service for properties management of a form Button.
    • Method Detail

      • setDefault

        void setDefault​(Button button,
                        Form form)
        This method set the default button for form, the previous default button will be reset.
        Parameters:
        button - the button in which set by default. (button can not be null).
        form - the form for which set the default button. (form can not be null).
      • unsetDefault

        void unsetDefault​(Button button,
                          Form form)
        This method reset the default button for form. If current button is not the default button then method will do nothing.
        Parameters:
        button - the button in which unset the default value. (button can not be null).
        form - the form for which unset the default button. (form can not be null).