class TextCheckBox
package buw
extends CheckBox › Control › Widget › Sprite › DisplayObjectContainer › InteractiveObject › DisplayObject › EventDispatcher
extended by TextRadioButton
Constructor
new (?listener:CheckBox ‑> Void, text:String, ?checked:Bool, ?circle:Bool)
Parameters:
listener | what to do when checkbox is clicked; defaults to null |
---|---|
text | the text associated to the checkbox |
checked | the checkbox initial state; defaults to false (unchecked) |
circle | true to draw a circle instead of a square (for radio buttons); defaults to false |