$name
$name : string
CheckBox Component
$feature : \FML\Script\Features\CheckBoxFeature
__construct(string $name = null, boolean $default = null, \FML\Controls\Quad $quad = null)
Construct a new CheckBox
string | $name | (optional) CheckBox name |
boolean | $default | (optional) Default value |
\FML\Controls\Quad | $quad | (optional) CheckBox quad |
getEnabledDesign() : \FML\Components\CheckBoxDesign
Get the enabled design
setEnabledDesign(string|\FML\Components\CheckBoxDesign $style, string $subStyle = null) : static
Set the enabled design
string|\FML\Components\CheckBoxDesign | $style | Style name, image url or checkbox design |
string | $subStyle | SubStyle name |
getDisabledDesign() : \FML\Components\CheckBoxDesign
Get the disabled design
setDisabledDesign(string|\FML\Components\CheckBoxDesign $style, string $subStyle = null) : static
Set the disabled design
string|\FML\Components\CheckBoxDesign | $style | Style name, image url or checkbox design |
string | $subStyle | SubStyle name |
getQuad() : \FML\Controls\Quad
Get the CheckBox Quad
setQuad(\FML\Controls\Quad $quad) : static
Set the CheckBox Quad
\FML\Controls\Quad | $quad | CheckBox Quad |
getEntry() : \FML\Controls\Entry
Get the hidden Entry
setEntry(\FML\Controls\Entry $entry) : static
Set the hidden Entry
\FML\Controls\Entry | $entry | Hidden Entry |
getScriptFeatures() : array<mixed,\FML\Script\Features\ScriptFeature>
Get the Script Features
createQuad() : \FML\Controls\Quad
Create the CheckBox Quad
createEntry() : \FML\Controls\Entry
Create the hidden Entry