A rotary selector component for choosing among different values.
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 (change in this case). |
Variables
choice:Float
Gets / sets the current choice, keeping it in range of 0 to numChoices - 1.
TODO: Verify UInt -> Float in original implementation
labelMode:String
Specifies what will be used as labels for each choice. Valid values are "alphabetic", "numeric", and "none".