| Package | qnx.ui.listClasses |
| Class | public class SectionHeaderRenderer |
| Inheritance | SectionHeaderRenderer CellRenderer SkinnableComponent UIComponent flash.display.MovieClip |
| Implements | ICellRenderer |
SectionHeaderRenderer class is the default header skin for the SectionList and SectionTileList classes.
You can create your own headers, but you must set the ICellRenderer.isHeader to true.
To set your own custom header, call the setHeaderSkin method in the SectionList and SectionTileList classes.
See also
| Method | Defined By | ||
|---|---|---|---|
Creates a SectionHeaderRenderer instance. | SectionHeaderRenderer | ||
![]() | destroy():void
Call this method when you want to have your object collected by the garbage collector. | UIComponent | |
![]() | drawNow():void
Calls the draw() method. | UIComponent | |
![]() | getTextFormatForState(state:String):TextFormat
Returns the TextFormat object for a specified state. | CellRenderer | |
![]() | invalidate(property:String, invalidateNow:Boolean = false):void
Marks the property as invalid and the draw() method is called on the next frame or the next render, whichever comes first. | UIComponent | |
![]() | setPosition(x:Number, y:Number):void
Sets the x and y position of the component. | UIComponent | |
![]() | setSize(w:Number, h:Number):void
Sets the width and height of the component. | UIComponent | |
![]() | setSkin(cellSkin:Object):void
Set the skin object on the component for it to render. | SkinnableComponent | |
![]() | setTextFormatForState(format:TextFormat, state:String):void
Sets the TextFormat object for the label of a given state. | CellRenderer | |