flexlib :: library Documentation | All Packages | All Classes | Index | Frames No Frames |
CanvasButtonAccordionHeader

Package | flexlib.containers.accordionClasses
Class | public class CanvasButtonAccordionHeader
Inheritance | CanvasButtonAccordionHeader CanvasButton mx.controls.Button
Implements | mx.core.IDataRenderer

The <codeph>CanvasButtonAccordionHeader</codeph> class allows you to easily use a <codeph>CanvasButton</codeph> control as the header renderer of an <codeph>Accordion</codeph>. This class is a copy of the AccordionHeader class, but instead of subclassing <codeph>Button</codeph>, it subclasses <codeph>CanvasButton</codeph>.

See also

flexlib.controls.CanvasButton
mx.containers.Accordion

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | buttonMode : Boolean [override] | CanvasButton
|  | childDescriptors : Array [write-only] Since this class implements IContainer, when it is created it's parent container will set the childDescriptors property with UIComponentDescriptor objects. | CanvasButton
|  | creatingContentPane : Boolean | CanvasButton
|  | data : Object [override] Stores a reference to the content associated with the header. | CanvasButtonAccordionHeader
|  | defaultButton : IFlexDisplayObject | CanvasButton
|  | horizontalScrollPolicy : String | CanvasButton
|  | horizontalScrollPosition : Number | CanvasButton
|  | mouseChildren : Boolean [override] | CanvasButton
|  | verticalScrollPolicy : String | CanvasButton
|  | verticalScrollPosition : Number | CanvasButton
|  | viewMetrics : EdgeMetrics | CanvasButton

Protected Properties
Hide Inherited Protected Properties
Show Inherited Protected Properties

| Property | Defined By
--- | --- | ---
|  | _creatingContentPane : Boolean | CanvasButton
|  | _defaultButton : IFlexDisplayObject | CanvasButton
|  | _horizontalScrollPosition : Number | CanvasButton
|  | _verticalScrollPosition : Number | CanvasButton
|  | _viewMetrics : EdgeMetrics | CanvasButton

Public Methods

| Method | Defined By
--- | --- | ---
|  | CanvasButtonAccordionHeader() Constructor. | CanvasButtonAccordionHeader

Protected Methods
Show Inherited Protected Methods
Show Inherited Protected Methods

| Method | Defined By
--- | --- | ---
|  | createChildren():void [override] | CanvasButton
|  | measure():void [override] | CanvasButton
|  | updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | CanvasButton

Property Detail

data | property

`data:Object`[override]

Stores a reference to the content associated with the header.

Implementation
`public function get data():Object`
`public function set data(value:Object):void`
Constructor Detail

CanvasButtonAccordionHeader | () | Constructor

`public function CanvasButtonAccordionHeader()`

Constructor.

Mercredi Juillet 6 2011, 09:45 PM +02:00