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

Inherited Variables

Inherited Methods

Defined by Widget

draw ():Void

force redrawing of the widget; this is in normal circonstances handled automatically

getWidth ():Float

Returns:

the widget real width (in pixels), calculated from the width of the parent (or stage) and the relativeWidth

Defined by Sprite

startDrag (?lockCenter:Bool, ?bounds:Rectangle):Void

Defined by DisplayObjectContainer

Defined by InteractiveObject

Defined by DisplayObject

Defined by EventDispatcher