public MenuButton (String text)

Creates a new empty menu button with the given text to display on the button. Use setGraphic(Node) and getItems() to set the content.

Parameters:
text    the text to display on the menu button