A basic CheckBox component.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?label:String, ?defaultHandler:Dynamic)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this CheckBox. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
label | String containing the label for this component. |
defaultHandler | The event handling function to handle the default event for this component (click in this case). |