MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 119

Components language reference
Table of Contents

Advertisement

Additional cell renderer examples
Additional examples of cell renderer classes that display a ComboBox and a CheckCell
component are also provided. These files are located in the CellRenderers_sample folder
within the Samples and Tutorials folder on your hard disk at
component_samples.
The additional installed sample named CellRenderers_Sample displaying a ComboBox
and CheckBox.
Methods to implement for the CellRenderer API
You must write a class with the following methods so that the List, DataGrid, Tree, or Menu
component can communicate with the cell.
Method
CellRenderer.getPreferredHeight()
CellRenderer.getPreferredWidth()
CellRenderer.setSize()
CellRenderer.setValue()
Description
Returns the preferred height of a cell.
The preferred width of a cell.
Sets the width and height of a cell.
Sets the content to be displayed in the cell.
www.macromedia.com/go/
Using the CellRenderer API
117

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents