« UI\Controls\Check::setText
UI\Controls\Button::__construct »
PHP Manual
UI
Button Control
検索
Button Control
(UI 0.9.9)
はじめに
Represents a labelled clickable button
クラス概要
class
UI\Controls\Button
extends
UI\Control
{
/* Constructor */
public
function
__construct
(
string
$text
)
/* メソッド */
public
function
getText
():
string
protected
function
onClick
()
public
function
setText
(
string
$text
)
/* 継承したメソッド */
public
function
UI\Control::destroy
()
public
function
UI\Control::disable
()
public
function
UI\Control::enable
()
public
function
UI\Control::getParent
():
UI\Control
public
function
UI\Control::getTopLevel
():
int
public
function
UI\Control::hide
()
public
function
UI\Control::isEnabled
():
bool
public
function
UI\Control::isVisible
():
bool
public
function
UI\Control::setParent
(
UI\Control
$parent
)
public
function
UI\Control::show
()
}
目次
UI\Controls\Button::__construct
— Construct a new Button
UI\Controls\Button::getText
— Get Text
UI\Controls\Button::onClick
— Click Handler
UI\Controls\Button::setText
— Set Text
関連キーワード:
Control
Button
Controls
setText
construct
text
getText
onClick
Text
Check
Represents
labelled
clickable
button
概要
extends
Constructor
protected
継承
destroy
disable
enable
getParent
getTopLevel
hide
関連する関数・ページ:
ui-controls-button.gettext
ui-controls-button.construct
ui-controls-button.settext
ui-controls-button.onclick
class.ui-controls-check
class.ui-controls-colorbutton