CheckBox
| Kind of class: | class |
|---|---|
| Inherits from: | Button < SimpleButton < UIComponent < UIObject < MovieClip |
| Classpath: | mx.controls.CheckBox |
| 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
- ignoreClassStyleDeclaration
- btnOffset
- __toggle : Boolean
- __selected : Boolean
- __labelPlacement : String
- __label : String
- 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
- labelPlacement : String
- sets the label placement of left,right,top, or bottom
- selected : Boolean
- clipParameters
- centerContent : Boolean
- borderW : Number
- emphasized
- _inherited_selected : Boolean
- toggle (v)
- icon (v)
- label : String
- gets the associated label text
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
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
CheckBox
function CheckBox (
)
Class properties
mergedClipParameters
static mergedClipParameters:Boolean = UIObject.mergeClipParameters(mx.controls.CheckBox.prototype.clipParameters, mx.controls.Button.prototype.clipParameters)
(read)
symbolName
static symbolName:String = "CheckBox"
(read)
symbolOwner
static symbolOwner:Object = mx.controls.CheckBox
(read)
version
static version:String = "2.0.2.127"
(read)
Instance properties
__label
__label:String = "CheckBox"
(read)
__labelPlacement
__labelPlacement:String = "right"
(read)
__selected
__selected:Boolean = false
(read)
__toggle
__toggle:Boolean = true
(read)
_inherited_selected
_inherited_selected:Boolean
(read)
Component metadata:
| Bindable | |
|---|---|
| ChangeEvent | "click" |
borderW
borderW:Number = 0
(read)
btnOffset
btnOffset = 0
(read)
centerContent
centerContent:Boolean = false
(read)
className
className:String = "CheckBox"
(read)
clipParameters
clipParameters = { label: 1, labelPlacement: 1 ,selected: 1 }
(read)
emphasized
emphasized
(read)
falseDisabledIcon
falseDisabledIcon:String = "CheckFalseDisabled"
(read)
falseDisabledSkin
falseDisabledSkin:String = ""
(read)
falseDownIcon
falseDownIcon:String = "CheckFalseDown"
(read)
falseDownSkin
falseDownSkin:String = ""
(read)
falseOverIcon
falseOverIcon:String = "CheckFalseOver"
(read)
falseOverSkin
falseOverSkin:String = ""
(read)
falseUpIcon
falseUpIcon:String = "CheckFalseUp"
(read)
falseUpSkin
falseUpSkin:String = ""
(read)
icon
icon
(read,write)
ignoreClassStyleDeclaration
ignoreClassStyleDeclaration = { Button: 1 }
(read)
label
label:String
(read)
gets the associated label text
Component metadata:
| Inspectable | defaultValue: "CheckBox" |
|---|
labelPlacement
labelPlacement:String
(read)
sets the label placement of left,right,top, or bottom
selected
selected:Boolean
(read)
toggle
toggle
(read,write)
trueDisabledIcon
trueDisabledIcon:String = "CheckTrueDisabled"
(read)
trueDisabledSkin
trueDisabledSkin:String = ""
(read)
trueDownIcon
trueDownIcon:String = "CheckTrueDown"
(read)
trueDownSkin
trueDownSkin:String = ""
(read)
trueOverIcon
trueOverIcon:String = "CheckTrueOver"
(read)
trueOverSkin
trueOverSkin:String = ""
(read)
trueUpIcon
trueUpIcon:String = "CheckTrueUp"
(read)
trueUpSkin
trueUpSkin:String = ""
(read)
Instance methods
calcPreferredHeight
function calcPreferredHeight (
)
init
function init (
)
size
function size (
)
Event handlers
onRelease
function onRelease (
)