List
| Kind of class: | class |
|---|---|
| Inherits from: | ScrollSelectList < ScrollView < View < UIComponent < UIObject < MovieClip |
| Known subclasses: | |
| Classpath: | mx.controls.List |
| File last modified: | Tuesday, 18 December 2007, 15:44:37 |
List class
- extends ScrollSelectList
- gives the user the ability to select one or many options from a scrolling list
- extends ScrollSelectList
- gives the user the ability to select one or many options from a scrolling list
Summary
Constructor
Class properties
- symbolOwner : Object
- symbolName : String
- version : String
Class properties inherited from ScrollSelectList
Class properties inherited from ScrollView
Class properties inherited from View
Class properties inherited from UIComponent
Class properties inherited from UIObject
Instance properties
- className : String
- clipParameters : Object
- scrollDepth : Number
- __vScrollPolicy : String
- __labels : Array
- data : Array
- __selectedIndex : Number
- boundingBox_mc : MovieClip
- oldVWidth : Number
- autoHScrollAble : Boolean
- totalWidth : Number
- totalHeight : Number
- displayWidth : Number
- calcPreferredWidthFromData : Function
- calcPreferredHeightFromData : Function
- invScrollProps : Boolean
- invScrollSize : Boolean
- labels : Array
- _inherited_dataProvider : Array
- _inherited_selectedItem : Object
- _inherited_selectedItems : Array
- _inherited_selectedIndex : Number
- _inherited_selectedIndices : Array
Instance properties inherited from ScrollSelectList
__cellRenderer __dataProvider __hPosition __iconField __iconFunction __labelField __labelFunction __rowCount __rowHeight __rowRenderer __width addItem addItemAt baseRowZ calcPreferredWidth cellRenderer changeFlag className clearSelected CONTENTDEPTH createLabel dataProvider dragEnabled dragScrolling dropEnabled enabled getDataProvider getItemAt getLength getSelectedIndex getSelectedIndices getSelectedItem getSelectedItems getValue iconField iconField iconFunction iconFunction invLayoutContent invRowHeight invUpdateControl isPressed isRowStyle isSelected labelField labelField labelFunction labelFunction lastPosition lastSelected lastSelID layoutX layoutY length listContent minScrollInterval modelChanged multipleSelection onMouseUp propertyTable removeAll removeItemAt replaceItemAt roundUp rowCount rowCount rowHeight rowHeight rows scrollInterval selectable selected selectedIndex selectedIndices selectedItem selectedItems selectHolder selectionDeleted selectItem setDataProvider setSelectedIndex setSelectedIndices sortItems sortItemsBy tempLabel tH topRowZ tW value wasKeySelected
Instance properties inherited from ScrollView
__hPosition __hScrollPolicy __maxHPosition __viewMetrics __vPosition __vScrollPolicy className columnWidth heightPadding hPosition hScroller hScrollPolicy invLayout MASK_DEPTH mask_mc maxHPosition maxVPosition numberOfCols oldRndUp owner propsInited rowC rowH scrollAreaChanged specialHScrollCase viewableColumns viewableRows vPosition vScroller vScrollPolicy vScrollPolicy widthPadding
Instance properties inherited from View
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
- setEnabled (v:Boolean) : Void
- setVPosition (pos:Number) : Void
- setHPosition (pos:Number) : Void
- setMaxHPosition (pos:Number) : Void
- setHScrollPolicy (policy:String) : Void
- setRowCount (rC:Number) : Void
- layoutContent (x:Number, y:Number, tW:Number, tH:Number, dW:Number, dH:Number) : Void
- modelChanged (eventObj:Object) : Void
- hScroll (pos:Number) : Void
- init (Void) : Void
- createChildren (Void) : Void
- getRowCount (Void) : Number
- size (Void) : Void
- draw (Void) : Void
- configureScrolling (Void) : Void
Instance methods inherited from ScrollSelectList
__onMouseUp createChildren dragScroll draw findInputText findString getPropertiesAt getPropertiesOf getRowCount getRowHeight getStateAt getStyle init invalidateStyle keyDown layoutContent moveSelBy onRowDragOut onRowDragOver onRowPress onRowRelease onRowRollOut onRowRollOver selectRow setCellRenderer setEnabled setIconField setIconFunction setLabelField setLabelFunction setPropertiesAt setRowCount setRowHeight setVPosition updateControl
Instance methods inherited from ScrollView
__onMouseWheel childLoaded createChild createChildren doLayout draw getHPosition getHScrollPolicy getMaxHPosition getViewMetrics getVPosition getVScrollPolicy init invalidate onScroll scrollProxy setEnabled setHPosition setHScrollPolicy setMaxHPosition setScrollProperties setVPosition setVScrollPolicy size
Instance methods inherited from View
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
- onScroll (eventObj:Object) : Void
Event handlers inherited from ScrollSelectList
Event handlers inherited from ScrollView
Event handlers inherited from UIComponent
Constructor
List
function List (
)
Class properties
symbolName
static symbolName:String = "List"
(read)
symbolOwner
static symbolOwner:Object = List
(read)
version
static version:String = "2.0.2.127"
(read)
Instance properties
__labels
__labels:Array
(read)
__selectedIndex
__selectedIndex:Number
(read)
__vScrollPolicy
__vScrollPolicy:String = "on"
(read)
_inherited_dataProvider
_inherited_dataProvider:Array
(read)
Component metadata:
| Bindable | "DataProvider" param1: "writeonly",type |
|---|
_inherited_selectedIndex
_inherited_selectedIndex:Number
(read)
Component metadata:
| Bindable | |
|---|---|
| ChangeEvent | "change" |
_inherited_selectedIndices
_inherited_selectedIndices:Array
(read)
Component metadata:
| Bindable | |
|---|---|
| ChangeEvent | "change" |
_inherited_selectedItem
_inherited_selectedItem:Object
(read)
Component metadata:
| Bindable | "readonly" |
|---|---|
| ChangeEvent | "change" |
_inherited_selectedItems
_inherited_selectedItems:Array
(read)
Component metadata:
| Bindable | "readonly" |
|---|---|
| ChangeEvent | "change" |
autoHScrollAble
autoHScrollAble:Boolean = false
(read)
boundingBox_mc
boundingBox_mc:MovieClip
(read)
calcPreferredHeightFromData
calcPreferredHeightFromData:Function
(read)
calcPreferredWidthFromData
calcPreferredWidthFromData:Function
(read)
className
className:String = "List"
(read)
clipParameters
clipParameters:Object = { rowHeight: 1, enabled:1, visible:1, labels:1 }
(read)
data
data:Array
(read)
Component metadata:
| Inspectable | defaultValue: "" |
|---|
displayWidth
displayWidth:Number
(read)
invScrollProps
invScrollProps:Boolean
(read)
invScrollSize
invScrollSize:Boolean
(read)
labels
labels:Array
(read,write)
Component metadata:
| Inspectable | defaultValue: "" |
|---|
oldVWidth
oldVWidth:Number
(read)
scrollDepth
scrollDepth:Number = 1
(read)
totalHeight
totalHeight:Number
(read)
totalWidth
totalWidth:Number
(read)
Instance methods
configureScrolling
function configureScrolling (
Void) : Void
createChildren
function createChildren (
Void) : Void
getRowCount
function getRowCount (
Void) : Number
hScroll
function hScroll (
pos:Number) : Void
layoutContent
function layoutContent (
x:Number,
y:Number,
tW:Number,
tH:Number,
dW:Number,
dH:Number) : Void
modelChanged
function modelChanged (
eventObj:Object) : Void
setEnabled
function setEnabled (
v:Boolean) : Void
setHScrollPolicy
function setHScrollPolicy (
policy:String) : Void
setMaxHPosition
function setMaxHPosition (
pos:Number) : Void
Overrides:
setRowCount
function setRowCount (
rC:Number) : Void
setVPosition
function setVPosition (
pos:Number) : Void
Event handlers
onScroll
function onScroll (
eventObj:Object) : Void