Field Summary |
| __cellRenderer |
|
|
|
| __dataProvider: Object |
| Props Mixed In from DataSelector
|
|
| __hPosition: Number |
| ::: Default Values of internal vars
|
|
| __iconField: String |
|
|
|
| __iconFunction: Function |
|
|
|
| __labelField: String |
|
|
|
| __labelFunction: Function |
|
|
|
| __rowCount: Number |
|
|
|
| __rowHeight: Number |
|
|
|
| __rowRenderer: String |
|
|
|
| __width: Number |
|
|
|
| addItem: Function |
|
|
|
| addItemAt: Function |
|
|
|
| baseRowZ: Number |
|
|
|
| calcPreferredWidth: Function |
|
|
|
| changeFlag: Boolean |
|
|
|
| className: String |
|
|
|
| clearSelected: Function |
| clears all selections, redraws list
|
|
| CONTENTDEPTH: Number |
| where the stack of rows goes.
|
|
| createLabel: Function |
|
|
|
| dataProvider: Object |
|
|
|
| dragEnabled: Boolean |
|
|
|
| dragScrolling |
|
|
|
| dropEnabled: Boolean |
| some vars for ...
|
|
| enabled: Boolean |
|
|
|
| getDataProvider: Function |
|
|
|
| getItemAt: Function |
|
|
|
| getLength: Function |
|
|
|
| getSelectedIndex: Function |
|
|
|
| getSelectedIndices: Function |
|
|
|
| getSelectedItem: Function |
|
|
|
| getSelectedItems: Function |
|
|
|
| getValue: Function |
|
|
|
| invLayoutContent: Boolean |
| ::: Declarations
|
|
| invRowHeight: Boolean |
|
|
|
| invUpdateControl: Boolean |
|
|
|
| isPressed: Boolean |
| keep track of whether the control has been pressed
|
|
| isRowStyle: Object |
| anything in this list of styles will trigger an updateControl
|
|
| isSelected: Function |
| returns true or false, depending on selection
|
|
| lastPosition: Number |
|
|
|
| lastSelected: Number |
|
|
|
| lastSelID: Number |
|
|
|
| layoutX: Number |
|
|
|
| layoutY: Number |
|
|
|
| length: Number |
|
|
|
| listContent: MovieClip |
|
|
|
| minScrollInterval |
|
|
|
static
| mixIt1: Boolean |
| Initialize our class to "inherit" DataSelector methods.
|
|
static
| mixIt2: Boolean |
|
|
|
| modelChanged: Function |
| catches model changed events from the dataProvider
|
|
| multipleSelection: Boolean |
|
|
|
| onMouseUp: Function |
|
|
|
| propertyTable: Object |
|
|
|
| removeAll: Function |
|
|
|
| removeItemAt: Function |
|
|
|
| replaceItemAt: Function |
|
|
|
| roundUp |
|
|
|
| rows: Array |
|
|
|
| scrollInterval: Number |
|
|
|
| selectable: Boolean |
|
|
|
| selected: Object |
|
|
|
| selectedIndex: Number |
|
|
|
| selectedIndices: Array |
|
|
|
| selectedItem |
|
|
|
| selectedItems: Array |
|
|
|
| selectHolder: Number |
|
|
|
| selectionDeleted: Boolean |
|
|
|
| selectItem: Function |
| bookkeeps the selection of one item
|
|
| setDataProvider: Function |
| Functions Mixed in from DataSelector
|
|
| setSelectedIndex: Function |
|
|
|
| setSelectedIndices: Function |
|
|
|
| sortItems: Function |
|
|
|
| sortItemsBy: Function |
|
|
|
| tempLabel: Object |
|
|
|
| tH: Number |
|
|
|
| topRowZ: Number |
|
|
|
| tW: Number |
|
|
|
| value: Object |
|
|
|
| wasKeySelected: Boolean |
|
|
|
Fields inherited from class mx.core.ScrollView__hPosition, __hScrollPolicy, __maxHPosition, __viewMetrics, __vPosition, __vScrollPolicy, className, columnWidth, heightPadding, hScroller, invLayout, MASK_DEPTH, mask_mc, numberOfCols, oldRndUp, owner, propsInited, rowC, rowH, scrollAreaChanged, specialHScrollCase, symbolName, symbolOwner, version, viewableColumns, viewableRows, vScroller, widthPadding |
|
Fields inherited from class mx.core.View__tabIndex, border_mc, boundingBox_mc, childNameBase, className, createClassChildAtDepth, depth, loadExternal, symbolName, symbolOwner, version |
|
Fields inherited from class mx.core.UIComponentclipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version |
|
Fields inherited from class mx.core.UIObject__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version |
|
Fields inherited from class MovieClip_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor |
|
|
Property Summary |
| cellRenderer (read, write) |
|
|
|
| iconField: (write)
|
|
|
|
| iconField: String (read)
|
|
|
|
| iconFunction: (write)
|
|
|
|
| iconFunction: Function (read)
|
|
|
|
| labelField: (write)
|
|
|
|
| labelField: String (read)
|
|
|
|
| labelFunction: (write)
|
|
|
|
| labelFunction: Function (read)
|
|
|
|
| rowCount: Number (read)
|
|
|
|
| rowCount: (write)
|
|
|
|
| rowHeight: Number (read)
|
|
|
|
| rowHeight: (write)
|
|
|
|
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
| ScrollSelectList (
)
|
|
|
|
Method Summary |
| __onMouseUp (
Void
): Void |
| catches mouse releases in or outside the list, fires change if appropriate
|
|
| createChildren (
Void
): Void |
| create the mask and make it invisible
|
|
| dragScroll (
Void
): Void |
| interval function that scrolls the list up or down if the mouse goes above or below the list
|
|
| draw (
Void
): Void |
| redraw by re-laying out
|
|
| findInputText (
Void
): Boolean |
| does ascii lookup to see if it's time to find an item
|
|
| findString (
str : String
): Void |
| finds an item in the list based on a string and moves the selection to it
|
|
| getPropertiesAt (
index : Number
): Object |
|
|
|
| getPropertiesOf (
obj : Object
): Object |
|
|
|
| getRowCount (
Void
): Number |
|
|
|
| getRowHeight (
Void
): Number |
|
|
|
| getStateAt (
index : Number
): String |
| figures out the state of a given item
|
|
| getStyle (
styleProp: String
) |
| get a style property
|
|
| init (
Void
): Void |
| ::: PRIVATE CONSTRUCTION METHODS
|
|
| invalidateStyle (
propName : String
): Void |
| called if just styles are changing so subclasses don't have to redraw everything
|
|
| keyDown (
e: Object
): Void |
| takes keystrokes and maps them to selection movement increments
|
|
| layoutContent (
x : Number, y: Number, w: Number, h: Number
): Void |
| ::: MAIN LAYOUT METHOD.
|
|
| moveSelBy (
incr : Number
): Void |
| ::: KEY Support Move selection up or down by increments Note this is for keyboard Support only..
|
|
| onRowDragOut (
rowIndex : Number
): Void |
|
|
|
| onRowDragOver (
rowIndex : Number
): Void |
|
|
|
| onRowPress (
rowIndex : Number
): Void |
| ::: PRIVATE INTERACTION METHODS all the below catch mouse events from the rows
|
|
| onRowRelease (
rowIndex : Number
): Void |
|
|
|
| onRowRollOut (
rowIndex : Number
): Void |
|
|
|
| onRowRollOver (
rowIndex : Number
): Void |
|
|
|
| selectRow (
rowIndex : Number, transition : Boolean, allowChangeEvent : Boolean
): Void |
| used to fire a selection driven from user interaction, and update the display
|
|
| setCellRenderer (
cR
): Void |
|
|
|
| setEnabled (
v : Boolean
): Void |
| scrollbars must be enabled/disabled when we are
|
|
| setIconField (
field: String
): Void |
|
|
|
| setIconFunction (
func: Function
): Void |
|
|
|
| setLabelField (
field: String
): Void |
|
|
|
| setLabelFunction (
func: Function
): Void |
|
|
|
| setPropertiesAt (
index : Number, obj : Object
): Void |
|
|
|
| setRowCount (
v : Number
): Void |
|
|
|
| setRowHeight (
v : Number
): Void |
|
|
|
| setVPosition (
pos : Number
): Void |
| ::: SCROLL METHODS Move any rows that don't need rerendering Move and Rerender any rows left over
|
|
| updateControl (
Void
): Void |
| refresh all rows (use sparingly!)
|
|
Methods inherited from class mx.core.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 |
|
Methods inherited from class mx.core.ViewaddLayoutObject, childLoaded, convertToUIObject, createChild, createChildren, destroyChildAt, doLayout, draw, extension, getChildAt, init, initLayout, size |
|
Methods inherited from class mx.core.UIComponentdispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size |
|
Methods inherited from class mx.core.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, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size |
|
Methods inherited from class MovieClipattachAudio, attachMovie, beginFill, beginGradientFill, clear, createEmptyMovieClip, createTextField, curveTo, duplicateMovieClip, endFill, getBounds, getBytesLoaded, getBytesTotal, getDepth, getInstanceAtDepth, getNextHighestDepth, getSWFVersion, getTextSnapshot, getURL, globalToLocal, gotoAndPlay, gotoAndStop, hitTest, lineStyle, lineTo, loadMovie, loadVariables, localToGlobal, moveTo, nextFrame, onData, onDragOut, onDragOver, onEnterFrame, onKeyDown, onKeyUp, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf |
|
|
|