com.triomotor.cells

AbstractCell

extends: MovieClip

This class is an abstract class that will be inherited by more specific cell renders.

See Also
StepperCell, TrashCell

Property Summary

private NumberpreferredHeight = 22
private NumberpreferredWidth = 80
private FunctiongetCellIndex
private DataGridlistOwner

Method Summary

public getPreferredHeight()
public getPreferredWidth()

Property Details

preferredHeight

private preferredHeight:Number = 22

preferredHeight has a default value of 22

preferredWidth

private preferredWidth:Number = 80

preferredWidth has a default value of 80

getCellIndex

private getCellIndex:Function

This function is not defined in this class nor in the classes that inherit this class because it is added automatically by the Datagrid

listOwner

private listOwner:DataGrid

this property is instantiated automatically by the Datagrid

Method Details

getPreferredHeight

public getPreferredHeight():Number

Description: returns private var preferredHeight
Globals: uses preferredHeight
Calls: none
Is Called by: owner (Datagrid) to render the cell

Returns
preferredHeight (Number)

getPreferredWidth

public getPreferredWidth():Number

Description: returns private var preferredWidth
Globals: uses preferredWidth
Calls: none
Is Called by: owner (Datagrid) to render the cell

Returns
preferredWidth (Number)