Packagecom.flexicious.nestedtreedatagrid.cells
Classpublic class FlexDataGridExpandCollapseCell
InheritanceFlexDataGridExpandCollapseCell Inheritance FlexDataGridCell Inheritance mx.core.UIComponent
Implements IFlexDataGridDataCell, IExpandCollapseComponent
Subclasses FlexDataGridExpandCollapseHeaderCell



Public Properties
 PropertyDefined By
 InheritedbackgroundColorString : String
[read-only] If column is a checkbox column, returns the current state of the checkbox renderer
FlexDataGridCell
 InheritedbackgroundDirty : Boolean
A number of operations can cause the cells text and background colors to change.
FlexDataGridCell
  cell : IFlexDataGridCell
[read-only]
FlexDataGridExpandCollapseCell
 InheritedcheckBoxState : String
[read-only] If column is a checkbox column, returns the current state of the checkbox renderer
FlexDataGridCell
 InheritedcolIcon : 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
 Inheritedcolumn : FlexDataGridColumn
The FlexDataGridColumn associated with this cell.
FlexDataGridCell
 InheritedcomponentInfo : ComponentInfo
The component info that holds this cell in the cells collection of the associated rowInfo object.
FlexDataGridCell
 InheritedcurrentBackgroundColors : *
FlexDataGridCell
 InheritedcurrentTextColors : *
FlexDataGridCell
 Inheriteddestroyed : Boolean
Once a grid is rendered, each cell in the grid is shown in the UI.
FlexDataGridCell
  drawTopBorder : Boolean
[override] [read-only]
FlexDataGridExpandCollapseCell
 InheritedexpandCollapseIcon : 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
 InheritedhorizontalGridLineColor : *
[read-only]
FlexDataGridCell
 InheritedhorizontalGridLineThickness : *
[read-only]
FlexDataGridCell
  iExpandCollapseComponent : IExpandCollapseComponent
[override] [read-only]
FlexDataGridExpandCollapseCell
 InheritedisChromeCell : Boolean
[read-only] The "Chrome" is defined as header,footer,pager,filter sections.
FlexDataGridCell
 InheritedisContentArea : 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
 InheritedisDataCell : Boolean
[read-only] Returns true if the rowInfo object associated with this cell is of type RowPositionInfo.ROW_TYPE_DATA.
FlexDataGridCell
 InheritedisElastic : 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
 InheritedisNewlyCreated : 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
 Inheritedlevel : FlexDataGridColumnLevel
The FlexDataGridColumnLevel associated with this cell.
FlexDataGridCell
 Inheritedmoving : Boolean = false
Used by header cells and column group cells for drag drop move.
FlexDataGridCell
 InheritednestDepth : Number
[read-only] Returns the nestpDepth property of the associated level, if it is not null.
FlexDataGridCell
  open : Boolean
FlexDataGridExpandCollapseCell
 InheritedperceivedX : Number
[read-only] The X Position of this cell, as the user sees it.
FlexDataGridCell
 Inheritedrenderer : DisplayObject
[read-only]
FlexDataGridCell
 InheritedrendererFactory : IFactory
FlexDataGridCell
 InheritedrowInfo : RowInfo
The rowInfo object associated with this cell.
FlexDataGridCell
  rowSpan : int
The rowSpan associated with this cell.
FlexDataGridExpandCollapseCell
 Inheritedtext : String
This is the actual text to display in the cell.
FlexDataGridCell
 InheritedverticalGridLineColor : *
[read-only]
FlexDataGridCell
 InheritedverticalGridLineThickness : *
[read-only]
FlexDataGridCell
 InheritedwordWrap : Boolean
This flag is a used for enabling the wordWrap on the associated renderer.
FlexDataGridCell
Protected Properties
 PropertyDefined By
  prefix : String
[override] [read-only]
FlexDataGridExpandCollapseCell
Public Methods
 MethodDefined By
  
FlexDataGridExpandCollapseCell
  
destroy():void
[override]
FlexDataGridExpandCollapseCell
  
doClick():void
FlexDataGridExpandCollapseCell
 Inherited
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
 Inherited
drawRightBorder(unscaledWidth:Number, unscaledHeight:Number):void
FlexDataGridCell
  
[override]
FlexDataGridExpandCollapseCell
 Inherited
If this is a fillRow, returns the value of the color property.
FlexDataGridCell
 Inherited
If this is a fillRow, returns the value of the color property.
FlexDataGridCell
 Inherited
getStyleValue(styleProp:String):*
FlexDataGridCell
  
[override]
FlexDataGridExpandCollapseCell
 Inherited
FlexDataGridCell
 Inherited
FlexDataGridCell
 Inherited
initializeCheckBoxRenderer(renderer:DisplayObject):void
FlexDataGridCell
 Inherited
Marks the cell so that the background and borders are drawn in the next validation cycle.
FlexDataGridCell
 Inherited
placeComponent(cellRenderer:DisplayObject, unscaledWidth:Number, unscaledHeight:Number, usePadding:Boolean = true):Point
FlexDataGridCell
  
[override]
FlexDataGridExpandCollapseCell
  
setActualSize(w:Number, h:Number):void
[override]
FlexDataGridExpandCollapseCell
 Inherited
setRendererSize(cellRenderer:DisplayObject, w:Number, h:Number):void
FlexDataGridCell
Protected Methods
 MethodDefined By
 Inherited
FlexDataGridCell
 Inherited
drawCell(unscaledWidth:Number, unscaledHeight:Number):void
FlexDataGridCell
  
onClick(event:MouseEvent):void
FlexDataGridExpandCollapseCell
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override]
FlexDataGridExpandCollapseCell
Events
 Event Summary Defined By
  FlexDataGridExpandCollapseCell
Public Constants
 ConstantDefined By
  EVENT_EXPAND_COLLAPSE : String = expandCollapse
[static]
FlexDataGridExpandCollapseCell
Property Detail
cellproperty
cell:IFlexDataGridCell  [read-only]


Implementation
    public function get cell():IFlexDataGridCell
colSpanproperty 
colSpan:int

The 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.


Implementation
    public function get colSpan():int
    public function set colSpan(value:int):void
drawTopBorderproperty 
drawTopBorder:Boolean  [read-only] [override]


Implementation
    public function get drawTopBorder():Boolean
forceRightLockproperty 
public var forceRightLock:Boolean = false

hen we need right locked padding, set this

hasChildrenproperty 
hasChildren:Boolean


Implementation
    public function get hasChildren():Boolean
    public function set hasChildren(value:Boolean):void
iExpandCollapseComponentproperty 
iExpandCollapseComponent:IExpandCollapseComponent  [read-only] [override]


Implementation
    public function get iExpandCollapseComponent():IExpandCollapseComponent
isExpandCollapseCellproperty 
isExpandCollapseCell:Boolean  [read-only] [override]


Implementation
    public function get isExpandCollapseCell():Boolean
isLeftLockedproperty 
isLeftLocked:Boolean  [read-only] [override]


Implementation
    public function get isLeftLocked():Boolean
isLockedproperty 
isLocked:Boolean  [read-only] [override]


Implementation
    public function get isLocked():Boolean
isRightLockedproperty 
isRightLocked:Boolean  [read-only] [override]


Implementation
    public function get isRightLocked():Boolean
openproperty 
open:Boolean


Implementation
    public function get open():Boolean
    public function set open(value:Boolean):void
prefixproperty 
prefix:String  [read-only] [override]


Implementation
    protected function get prefix():String
rowSpanproperty 
rowSpan:int

The 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.


Implementation
    public function get rowSpan():int
    public function set rowSpan(value:int):void
Constructor Detail
FlexDataGridExpandCollapseCell()Constructor
public function FlexDataGridExpandCollapseCell()



Method Detail
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):void

Parameters

event:MouseEvent

refreshCell()method 
override public function refreshCell():void

setActualSize()method 
override public function setActualSize(w:Number, h:Number):void

Parameters

w:Number
 
h:Number

updateDisplayList()method 
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number

Event Detail
expandCollapse Event

Constant Detail
EVENT_EXPAND_COLLAPSEConstant
public static const EVENT_EXPAND_COLLAPSE:String = expandCollapse