class haxe.ui.toolkit.controls.OptionBox extends Component

Available on all platforms

Simple two state option control (supports groups)

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from Component

var clipContent:Bool
var clipHeight:Float
var clipWidth:Float
var disabled:Bool
var namedComponents:Array<IComponent>
var scriptletSource:String
var text:String
var userData:Dynamic
var value:Dynamic
function addEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool, ?priority:Int, ?useWeakReference:Bool):Void
function addScriptlet(scriptlet:String):Void
function addScriptletEventHandler(event:String, scriptlet:String):Void
function clearClip():Void
function clone():Component
function executeScriptletExpr(expr:String):Void
function invalidate(?type:Int, ?recursive:Bool):Void
function removeEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool):Void

Inherited from StyleableDisplayObject

var baseStyle:Style
var style:Style
var styleName:String
var styleString:String
function applyStyle():Void
function clone():StyleableDisplayObject
function invalidate(?type:Int, ?recursive:Bool):Void
function paint():Void
function retrieveStyle(id:String):Style
function storeStyle(id:String, value:Style):Void

Inherited from DisplayObjectContainer

var autoSize:Bool
var children:Array<IDisplayObject>
var layout:ILayout
var numChildren:Int
function addChild(child:IDisplayObject):IDisplayObject
function addChildAt(child:IDisplayObject, index:Int):IDisplayObject
function clone():DisplayObjectContainer
function contains(child:IDisplayObject):Bool
function dispose():Void
function findChild<T>(id:String, ?type:Class<T>, ?recursive:Bool):Null<T>
function findChildAs<T>(type:Class<T>):Null<T>
function findComponentUnderPoint(stageX:Float, stageY:Float):IDisplayObject
function getChildAt(index:Int):IDisplayObject
function indexOfChild(child:IDisplayObject):Int
function invalidate(?type:Int, ?recursive:Bool):Void
function removeAllChildren(?dispose:Bool):Void
function removeChild(child:IDisplayObject, ?dispose:Bool):IDisplayObject
function removeChildAt(index:Int, ?dispose:Bool):IDisplayObject
function setChildIndex(child:IDisplayObject, index:Int):Void

Inherited from DisplayObject

var alpha:Float
var graphics:Graphics
var height:Float
var horizontalAlign:String
var id:String
var includeInLayout:Bool
var parent:IDisplayObjectContainer
var percentHeight:Float
var percentWidth:Float
var ready:Bool
var root:Root
var sprite:Sprite
var stageX:Float
var stageY:Float
var useHandCursor:Bool
var verticalAlign:String
var visible:Bool
var width:Float
var x:Float
var y:Float
function addEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool, ?priority:Int, ?useWeakReference:Bool):Void
function clone():DisplayObject
function dispatchEvent(event:Event):Bool
function dispose():Void
function hasEventListener(type:String):Bool
function hitTest(xpos:Float, ypos:Float):Bool
function invalidate(?type:Int, ?recursive:Bool):Void
function removeEventListener(type:String, listener:Dynamic ->Void?useCapture:Bool):Void
function removeEventListenerType(eventType:String):Void
function willTrigger(type:String):Bool

var group:String

Defines the group for this option. Options belonging to the same group will only ever have a single option selected.

var selected:Bool

Defines whether the option is checked or not, if set to true then other options of the same group will be deselected.

function new():Void

function applyStyle():Void

function clone():OptionBox

function dispose():Void