Field Summary |
| cells: Array |
| ::: Declarations
|
|
| colBG: MovieClip |
|
|
|
| columnIndex: Number |
| here just to make the compiler quiet
|
|
| listOwner: Object |
|
|
|
| owner: Object |
|
|
|
| text: String |
|
|
|
| textHeight: Number |
|
|
|
| wasPressed: Boolean |
|
|
|
Fields inherited from class mx.controls.listclasses.SelectableRowbackGround, bGCol, bGTween, cell, clr, disabledColor, grandOwner, highlight, highlightColor, icon_mc, isChangedToSelected, item, listOwner, LOWEST_DEPTH, normalColor, owner, rowIndex, state |
|
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 |
|
|
|
Properties inherited from class mx.core.UIObjectbottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y |
|
Constructor |
| DataGridRow (
)
|
|
|
|
Method Summary |
| bGOnPress (
Void
): Void |
| ::: METHODS SCOPED TO THE backGround.
|
|
| cellGetPreferredHeight (
) |
|
|
|
| clearCells (
) |
| remove all cells
|
|
| createCells (
Void
): Void |
| to be used when the columns change (add/remove)...
|
|
| createChildren (
Void
): Void |
| don't call super - just make the background and the column color clip
|
|
| drawCell (
cellNum, xPos, w, bgCol
) |
| draw a background for this cell (for use in coloring the background of columns, see grid.drawColumns for usage
|
|
| getCellIndex (
Void
): Object |
| scoped to the cell - gives cellEditors a reference point (part of the cellRenderer API)
|
|
| getDataLabel (
): String |
| scoped to the cell - gives cellEditors a label for their field in a dataProvider item (part of the cellRenderer API)
|
|
| init (
Void
): Void |
| start an array for our cells
|
|
| notifyStyleChangeInChildren (
sheetName: String, styleProp: String, newValue
): Void |
| route style changes to our cells
|
|
| setState (
newState : String, transition : Boolean
): Void |
| extended this method to color all cells' enabled/disabled/rollOver/selected color
|
|
| setValue (
itmObj, state, transition
) |
| handles putting the object field values in the cells.
|
|
| size (
Void
): Void |
| This is for adjusting the size of the highlight, its associated hit area, and the other contents EXTEND this for more layout of other content types
|
|
| startEditCell (
) |
| ::: EDITABILITY scoped to the background - owner is the row find the cell that needs editing on release of the row
|
|
Methods inherited from class mx.controls.listclasses.SelectableRowbGOnDragOut, bGOnDragOver, bGOnPress, bGOnRelease, bGOnRollOut, bGOnRollOver, createChildren, drawRow, drawRowFill, getCellIndex, getDataLabel, getNormalColor, init, invalidateStyle, itemToString, onTweenEnd, onTweenUpdate, setCellRenderer, setState, setupBG, setValue, 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 |
|
|
|