Clear values using a button

Clear values using a button

I need clear all values from components in an User Interface.
Can I do this using a button?