/** * Constructs a new button object with the given text * <p> * * @param text * The text to show on the button */ public Button(String text) { super(ComponentTypes.Button); addAttribute("type", "button"); setText(text); } }
/** * Constructs a new button object with the given text * <p> * * @param text * The text to show on the button */ public Button(String text) { super(ComponentTypes.Button); addAttribute("type", "button"); setText(text); } }
/** * Constructs a new button object with the given text * <p> * * @param text * The text to show on the button */ public Button(String text) { super(ComponentTypes.Button); addAttribute("type", "button"); setText(text); } }