RadioButton
| Kind of class: | class |
|---|---|
| Inherits from: | Button < SimpleButton < UIComponent < UIObject < MovieClip |
| Classpath: | mx.controls.RadioButton |
| File last modified: | Tuesday, 18 December 2007, 15:44:37 |
Component metadata:
| Event | "click" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- version : String
- mergedClipParameters : Boolean
Class properties inherited from Button
Class properties inherited from SimpleButton
Class properties inherited from UIComponent
Class properties inherited from UIObject
Instance properties
- className : String
- btnOffset : Number
- __toggle : Boolean
- __value : Object
- __label : String
- __labelPlacement : String
- ignoreClassStyleDeclaration
- __groupName : String
- indexNumber : Number
- __data : String
- offset : Boolean
- falseUpSkin : String
- falseDownSkin : String
- falseOverSkin : String
- falseDisabledSkin : String
- trueUpSkin : String
- trueDownSkin : String
- trueOverSkin : String
- trueDisabledSkin : String
- falseUpIcon : String
- falseDownIcon : String
- falseOverIcon : String
- falseDisabledIcon : String
- trueUpIcon : String
- trueDownIcon : String
- trueOverIcon : String
- trueDisabledIcon : String
- centerContent : Boolean
- borderW : Number
- clipParameters
- selected : Boolean
- labelPlacement : String
- sets the label placement of left,right,top, or bottom
- label : String
- gets the associated label text
- data (val)
- hang data off of a radio instance
- groupName
- groupName (groupName:String)
- sets the group name associated with the radio button
- emphasized
- toggle (v)
- icon (v)
Instance properties inherited from Button
__label __labelPlacement _color _iconLinkageName _inherited_selected borderW btnOffset centerContent className clipParameters falseDisabledIcon falseDisabledSkin falseDownIcon falseDownSkin falseOverIcon falseOverSkin falseUpIcon falseUpSkin hitArea_mc icon icon initIcon label labelPath labelPlacement trueDisabledIcon trueDisabledSkin trueDownIcon trueDownSkin trueOverIcon trueOverSkin trueUpIcon trueUpSkin
Instance properties inherited from SimpleButton
__emphasized __emphatic __emphaticStyleName __state __toggle autoRepeat boundingBox_mc btnOffset buttonDownHandler className clickHandler detail dfi dfs disabledIcon disabledSkin downIcon downSkin dti dts emphasized falseDisabledIcon falseDisabledIconEmphasized falseDisabledSkin falseDisabledSkinEmphasized falseDownIcon falseDownIconEmphasized falseDownSkin falseDownSkinEmphasized falseOverIcon falseOverIconEmphasized falseOverSkin falseOverSkinEmphasized falseUpIcon falseUpIconEmphasized falseUpSkin falseUpSkinEmphasized fdi fds fri frs fui fus iconName idNames initializing interval linkLength phase preset refNames rolloverIcon rolloverSkin selected skinName stateNames style3dInset tagMap tdi tds toggle tri trs trueDisabledIcon trueDisabledIconEmphasized trueDisabledSkin trueDisabledSkinEmphasized trueDownIcon trueDownIconEmphasized trueDownSkin trueDownSkinEmphasized trueOverIcon trueOverIconEmphasized trueOverSkin trueOverSkinEmphasized trueUpIcon trueUpIconEmphasized trueUpSkin trueUpSkinEmphasized tui tus upIcon upSkin value
Instance properties inherited from UIComponent
Instance properties inherited from UIObject
__height __onUnload __width _color _endInit _id _maxHeight _maxWidth _minHeight _minWidth _preferredHeight _preferredWidth _tf _topmost addEventListener bottom buildDepthTable changeColorStyleInChildren changeTextStyleInChildren childrenCreated className clipParameters color createAccessibilityImplementation createChildAtDepth createClassChildAtDepth createEvent dispatchEvent embedFonts findNextAvailableDepth fontFamily fontSize fontStyle fontWeight handleEvent height idNames ignoreClassStyleDeclaration initProperties invalidateFlag left lineColor lineWidth marginLeft marginRight methodTable minHeight minWidth notifyStyleChangeInChildren removeEventListener right scaleX scaleY setStyle stylecache styleName tabEnabled textAlign textDecoration textIndent tfList top validateNow visible width x y
Class methods
Class methods inherited from UIObject
Instance methods
- init (Void) : Void
- size (Void) : Void
- setData (val)
- getData (val)
- setSelected (val:Boolean) : Void
- deleteGroupObj (groupName:String) : Void
- getGroupName
- setGroupName (groupName:String) : Void
- addToGroup (groupName:String) : Void
- keyDown (e:Object) : Void
- setNext
- setPrev
Instance methods inherited from Button
Instance methods inherited from SimpleButton
calcSize changeIcon changeSkin createChildren draw getLabel getSelected getState getToggle init keyDown keyUp onDragOut onDragOver onKillFocus onPress onPressDelay onPressRepeat onRelease onReleaseOutside onRollOut onRollOver refresh removeIcons setEnabled setIcon setLabel setSelected setSkin setState setStateVar setToggle setView showEmphasized size viewIcon viewSkin
Instance methods inherited from UIObject
__getTextFormat _createChildren _getTextFormat cancelAllDoLaters constructObject createChildren createClassObject createEmptyObject createLabel createObject createSkin destroyObject doLater doLaterDispatcher draw drawRect getClassStyleDeclaration getMinHeight getMinWidth getSkinIDName getStyle getStyleName init initFromClipParameters invalidate invalidateStyle move redraw setColor setMinHeight setMinWidth setSize setSkin setVisible size
Event handlers
Event handlers inherited from SimpleButton
Event handlers inherited from UIComponent
Constructor
RadioButton
function RadioButton (
)
Class properties
mergedClipParameters
static mergedClipParameters:Boolean = UIObject.mergeClipParameters(mx.controls.RadioButton.prototype.clipParameters, mx.controls.Button.prototype.clipParameters)
(read)
symbolName
static symbolName:String = "RadioButton"
(read)
symbolOwner
static symbolOwner:Object = mx.controls.RadioButton
(read)
version
static version:String = "2.0.2.127"
(read)
Instance properties
__data
__data:String
(read)
__groupName
__groupName:String = "radioGroup"
(read)
__label
__label:String = "Radio Button"
(read)
__labelPlacement
__labelPlacement:String = "right"
(read)
__toggle
__toggle:Boolean = true
(read)
__value
__value:Object
(read)
borderW
borderW:Number = 0
(read)
btnOffset
btnOffset:Number = 0
(read)
centerContent
centerContent:Boolean = false
(read)
className
className:String = "RadioButton"
(read)
clipParameters
clipParameters = { labelPlacement: 1, data: 1, label: 1, groupName: 1, selected: 1 }
(read)
data
data
(read,write)
hang data off of a radio instance
Component metadata:
| Inspectable | defaultValue: "" |
|---|
emphasized
emphasized
(read)
falseDisabledIcon
falseDisabledIcon:String = "RadioFalseDisabled"
(read)
falseDisabledSkin
falseDisabledSkin:String = ""
(read)
falseDownIcon
falseDownIcon:String = "RadioFalseDown"
(read)
falseDownSkin
falseDownSkin:String = ""
(read)
falseOverIcon
falseOverIcon:String = "RadioFalseOver"
(read)
falseOverSkin
falseOverSkin:String = ""
(read)
falseUpIcon
falseUpIcon:String = "RadioFalseUp"
(read)
falseUpSkin
falseUpSkin:String = ""
(read)
groupName
groupName
(read)
return the group name
groupName
groupName
(write)
sets the group name associated with the radio button
Component metadata:
| Inspectable | defaultValue: "radioGroup" |
|---|
icon
icon
(read,write)
ignoreClassStyleDeclaration
ignoreClassStyleDeclaration = { Button: 1 }
(read)
indexNumber
indexNumber:Number = 0
(read)
label
label:String
(read)
gets the associated label text
Component metadata:
| Inspectable | defaultValue: "Radio Button" |
|---|
labelPlacement
labelPlacement:String
(read)
sets the label placement of left,right,top, or bottom
offset
offset:Boolean = false
(read)
selected
selected:Boolean
(read)
toggle
toggle
(read,write)
trueDisabledIcon
trueDisabledIcon:String = "RadioTrueDisabled"
(read)
trueDisabledSkin
trueDisabledSkin:String = ""
(read)
trueDownIcon
trueDownIcon:String = ""
(read)
trueDownSkin
trueDownSkin:String = ""
(read)
trueOverIcon
trueOverIcon:String = ""
(read)
trueOverSkin
trueOverSkin:String = ""
(read)
trueUpIcon
trueUpIcon:String = "RadioTrueUp"
(read)
trueUpSkin
trueUpSkin:String = ""
(read)
Instance methods
addToGroup
function addToGroup (
groupName:String) : Void
deleteGroupObj
function deleteGroupObj (
groupName:String) : Void
getData
function getData (
val)
getGroupName
function getGroupName (
)
setData
function setData (
val)
setGroupName
function setGroupName (
groupName:String) : Void
setNext
function setNext (
)
setPrev
function setPrev (
)
setSelected
function setSelected (
val:Boolean) : Void
Event handlers
onRelease
function onRelease (
)
onUnload
function onUnload (
)