| Package | com.flexicious.nestedtreedatagrid.cells |
| Class | public class FlexDataGridExpandCollapseCell |
| Inheritance | FlexDataGridExpandCollapseCell FlexDataGridCell mx.core.UIComponent |
| Implements | IFlexDataGridDataCell, IExpandCollapseComponent |
| Subclasses | FlexDataGridExpandCollapseHeaderCell |
| Property | Defined By | ||
|---|---|---|---|
![]() | backgroundColorString : String [read-only]
If column is a checkbox column, returns the current state of the checkbox renderer
| FlexDataGridCell | |
![]() | backgroundDirty : Boolean
A number of operations can cause the cells text and background colors to change. | FlexDataGridCell | |
| cell : IFlexDataGridCell [read-only] | FlexDataGridExpandCollapseCell | ||
![]() | checkBoxState : String [read-only]
If column is a checkbox column, returns the current state of the checkbox renderer
| FlexDataGridCell | |
![]() | colIcon : Image
When column.enableIcon=true, this is the icon that will be associated with the cell. | FlexDataGridCell | |
| colSpan : int
The colSpan associated with this cell. | FlexDataGridExpandCollapseCell | ||
![]() | column : FlexDataGridColumn
The FlexDataGridColumn associated with this cell. | FlexDataGridCell | |
![]() | componentInfo : ComponentInfo
The component info that holds this cell in the cells collection of the associated rowInfo object. | FlexDataGridCell | |
![]() | currentBackgroundColors : * | FlexDataGridCell | |
![]() | currentTextColors : * | FlexDataGridCell | |
![]() | destroyed : Boolean
Once a grid is rendered, each cell in the grid is shown in the UI. | FlexDataGridCell | |
| drawTopBorder : Boolean [override] [read-only] | FlexDataGridExpandCollapseCell | ||
![]() | expandCollapseIcon : ExpandCollapseIcon
In 2.7, ability was added to have any cell be a expand collapse cell. | FlexDataGridCell | |
| forceRightLock : Boolean = false
hen we need right locked padding, set this
| FlexDataGridExpandCollapseCell | ||
| hasChildren : Boolean | FlexDataGridExpandCollapseCell | ||
![]() | horizontalGridLineColor : * [read-only] | FlexDataGridCell | |
![]() | horizontalGridLineThickness : * [read-only] | FlexDataGridCell | |
| iExpandCollapseComponent : IExpandCollapseComponent [override] [read-only] | FlexDataGridExpandCollapseCell | ||
![]() | isChromeCell : Boolean [read-only]
The "Chrome" is defined as header,footer,pager,filter sections. | FlexDataGridCell | |
![]() | isContentArea : Boolean [read-only]
Returns true if we are a data cell or if we area a chrome cell
at a nest depth of greater than 1. | FlexDataGridCell | |
![]() | isDataCell : Boolean [read-only]
Returns true if the rowInfo object associated with this cell is of type RowPositionInfo.ROW_TYPE_DATA. | FlexDataGridCell | |
![]() | isElastic : Boolean [read-only]
Returns true if this cell is not right locked or not fixed width. | FlexDataGridCell | |
| isExpandCollapseCell : Boolean [override] [read-only] | FlexDataGridExpandCollapseCell | ||
| isLeftLocked : Boolean [override] [read-only] | FlexDataGridExpandCollapseCell | ||
| isLocked : Boolean [override] [read-only] | FlexDataGridExpandCollapseCell | ||
![]() | isNewlyCreated : Boolean [read-only]
When a cell is created for the first time, this flag is set to true. | FlexDataGridCell | |
| isRightLocked : Boolean [override] [read-only] | FlexDataGridExpandCollapseCell | ||
![]() | level : FlexDataGridColumnLevel
The FlexDataGridColumnLevel associated with this cell. | FlexDataGridCell | |
![]() | moving : Boolean = false
Used by header cells and column group cells for drag drop move. | FlexDataGridCell | |
![]() | nestDepth : Number [read-only]
Returns the nestpDepth property of the associated level, if it is not null. | FlexDataGridCell | |
| open : Boolean | FlexDataGridExpandCollapseCell | ||
![]() | perceivedX : Number [read-only]
The X Position of this cell, as the user sees it. | FlexDataGridCell | |
![]() | renderer : DisplayObject [read-only] | FlexDataGridCell | |
![]() | rendererFactory : IFactory | FlexDataGridCell | |
![]() | rowInfo : RowInfo
The rowInfo object associated with this cell. | FlexDataGridCell | |
| rowSpan : int
The rowSpan associated with this cell. | FlexDataGridExpandCollapseCell | ||
![]() | text : String
This is the actual text to display in the cell. | FlexDataGridCell | |
![]() | verticalGridLineColor : * [read-only] | FlexDataGridCell | |
![]() | verticalGridLineThickness : * [read-only] | FlexDataGridCell | |
![]() | wordWrap : Boolean
This flag is a used for enabling the wordWrap on the associated renderer. | FlexDataGridCell | |
| Property | Defined By | ||
|---|---|---|---|
| prefix : String [override] [read-only] | FlexDataGridExpandCollapseCell | ||
| Method | Defined By | ||
|---|---|---|---|
| FlexDataGridExpandCollapseCell | |||
destroy():void [override] | FlexDataGridExpandCollapseCell | ||
doClick():void | FlexDataGridExpandCollapseCell | ||
![]() | drawBackground(unscaledWidth:Number, unscaledHeight:Number):void
Draws the background as well as calls drawBorder on the given cell
Each cell in Ultimate will draw its own background
and border. | FlexDataGridCell | |
![]() | drawRightBorder(unscaledWidth:Number, unscaledHeight:Number):void | FlexDataGridCell | |
[override] | FlexDataGridExpandCollapseCell | ||
![]() | getRolloverColor():*
If this is a fillRow, returns the value of the color property. | FlexDataGridCell | |
![]() |
If this is a fillRow, returns the value of the color property. | FlexDataGridCell | |
![]() | getStyleValue(styleProp:String):* | FlexDataGridCell | |
getTextColors():* [override] | FlexDataGridExpandCollapseCell | ||
![]() | hasHorizontalGridLines():Boolean | FlexDataGridCell | |
![]() | hasVerticalGridLines():Boolean | FlexDataGridCell | |
![]() | initializeCheckBoxRenderer(renderer:DisplayObject):void | FlexDataGridCell | |
![]() | invalidateBackground():void
Marks the cell so that the background and borders are drawn in the next validation cycle. | FlexDataGridCell | |
![]() | placeComponent(cellRenderer:DisplayObject, unscaledWidth:Number, unscaledHeight:Number, usePadding:Boolean = true):Point | FlexDataGridCell | |
refreshCell():void [override] | FlexDataGridExpandCollapseCell | ||
setActualSize(w:Number, h:Number):void [override] | FlexDataGridExpandCollapseCell | ||
![]() | setRendererSize(cellRenderer:DisplayObject, w:Number, h:Number):void | FlexDataGridCell | |
| Method | Defined By | ||
|---|---|---|---|
![]() | capitalizeFirstLetterIfPrefix(val:String):String | FlexDataGridCell | |
![]() | drawCell(unscaledWidth:Number, unscaledHeight:Number):void | FlexDataGridCell | |
onClick(event:MouseEvent):void | FlexDataGridExpandCollapseCell | ||
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | FlexDataGridExpandCollapseCell | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| FlexDataGridExpandCollapseCell | ||||
| Constant | Defined By | ||
|---|---|---|---|
| EVENT_EXPAND_COLLAPSE : String = expandCollapse [static] | FlexDataGridExpandCollapseCell | ||
| cell | property |
| colSpan | property |
colSpan:intThe colSpan associated with this cell. Defaults to 1. Will only be different when this cell is passed into the grid.colSpanFunction, and a different colSpan is returned. Although there is a setter for this property, this setter is for internal use only Setting this property will have no impact. It will be overwritten with the results of the colSpanFunction on the grid.
public function get colSpan():int public function set colSpan(value:int):void| drawTopBorder | property |
drawTopBorder:Boolean [read-only] [override] public function get drawTopBorder():Boolean| forceRightLock | property |
public var forceRightLock:Boolean = falsehen we need right locked padding, set this
| hasChildren | property |
hasChildren:Boolean public function get hasChildren():Boolean public function set hasChildren(value:Boolean):void| iExpandCollapseComponent | property |
iExpandCollapseComponent:IExpandCollapseComponent [read-only] [override] public function get iExpandCollapseComponent():IExpandCollapseComponent| isExpandCollapseCell | property |
isExpandCollapseCell:Boolean [read-only] [override] public function get isExpandCollapseCell():Boolean| isLeftLocked | property |
isLeftLocked:Boolean [read-only] [override] public function get isLeftLocked():Boolean| isLocked | property |
isLocked:Boolean [read-only] [override] public function get isLocked():Boolean| isRightLocked | property |
isRightLocked:Boolean [read-only] [override] public function get isRightLocked():Boolean| open | property |
open:Boolean public function get open():Boolean public function set open(value:Boolean):void| prefix | property |
prefix:String [read-only] [override] protected function get prefix():String| rowSpan | property |
rowSpan:intThe rowSpan associated with this cell. Defaults to 1. Will only be different when this cell is passed into the grid.rowSpanFunction, and a different rowSpan is returned. Although there is a setter for this property, this setter is for internal use only Setting this property will have no impact. It will be overwritten with the results of the rowSpanFunction on the grid.
public function get rowSpan():int public function set rowSpan(value:int):void| FlexDataGridExpandCollapseCell | () | Constructor |
public function FlexDataGridExpandCollapseCell()| destroy | () | method |
override public function destroy():void| doClick | () | method |
public function doClick():void| getBackgroundColors | () | method |
override public function getBackgroundColors():*Returns* |
| getTextColors | () | method |
override public function getTextColors():*Returns* |
| onClick | () | method |
protected function onClick(event:MouseEvent):voidParameters
event:MouseEvent |
| refreshCell | () | method |
override public function refreshCell():void| setActualSize | () | method |
override public function setActualSize(w:Number, h:Number):voidParameters
w:Number | |
h:Number |
| updateDisplayList | () | method |
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number | |
unscaledHeight:Number |
| expandCollapse | Event |
| EVENT_EXPAND_COLLAPSE | Constant |
public static const EVENT_EXPAND_COLLAPSE:String = expandCollapse