MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 149

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Method
CellRenderer.setSize()
CellRenderer.setValue()
Methods provided by the CellRenderer API
The List, DataGrid, Tree, and Menu components give the following methods to the cell when it is
created within the component. You do not need to implement these methods.
Method
CellRenderer.getCellIndex()
CellRenderer.getDataLabel()
Properties provided by the CellRenderer API
The List, DataGrid, Tree, and Menu component give the following properties to the cell when it
is created within the component. You do not need to implement these properties.
Property
CellRenderer.listOwner
CellRenderer.owner
CellRenderer.getCellIndex()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.getCellIndex()
Parameters
None.
Returns
An object with two fields:
Description
Method; returns an object with two fields,
the component. Each field is an integer that indicates a cell's column position and item position.
For any components other than the DataGrid component, the value of
Description
Sets the width and height of a cell.
Sets the content to be displayed in the cell.
Description
Returns an object with two fields,
that indicate the position of the cell.
Returns a string containing the name of the cell renderer's
data field.
Description
A reference to the List component that contains the cell.
A reference to the row that contains the cell.
and
columnIndex
itemIndex
columnIndex
columnIndex
.
and
, that locate the cell in
itemIndex
columnIndex
CellRenderer API
and
,
rowIndex
is always 0.
149

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents