public ButtonType (String text, ButtonData buttonData)

Creates a ButtonType instance with the given text, and the ButtonData set as specified.

Parameters:
text    The string to display in the text property of controls such as Button.
buttonData    The type of button that should be created from this ButtonType.