Interface IFormButtonService
-
- All Known Implementing Classes:
FormButtonService
public interface IFormButtonService
The service for properties management of a formButton
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setDefault(Button button, Form form)
This method set the default button for form, the previous default button will be reset.void
unsetDefault(Button button, Form form)
This method reset the default button for form.
-
-
-
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 benull
).form
- the form for which set the default button. (form can not benull
).
-
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 benull
).form
- the form for which unset the default button. (form can not benull
).
-
-