Have you read the API doc for the button class to see what methods it has that can help you? If you have any questions about the doc for the methods, copy the doc here and add your questions.