Button Control

Introduction

Represents a labelled clickable button

Class synopsis

UI\Controls\Button
class UI\Controls\Button extends UI\Control {
/* Constructor */
public __construct(string $text)
/* Methods */
public string getText()
protected onClick()
public setText(string $text)
/* Inherited methods */
public UI\Control::destroy()
public UI\Control::disable()
public UI\Control::enable()
public UI\Control UI\Control::getParent()
public int UI\Control::getTopLevel()
public UI\Control::hide()
public bool UI\Control::isEnabled()
public bool UI\Control::isVisible()
public UI\Control::setParent(UI\Control $parent)
public UI\Control::show()
}
Table of Contents