KoolMoves AS3 API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class AccordionPanel

Package | km.components
Class | public class AccordionPanel
Inheritance | AccordionPanel flash.display.Sprite

The AccordionPanel component class is used by the Accordion component class and not intended for separate use.

Public Properties

| Property | Defined by
--- | --- | ---
|  | background : Image [read-only] >> Reference to the background image. | AccordionPanel
|  | contentHolder : Sprite [read-only] >> Reference to the content holder. | AccordionPanel
|  | contentMargin : int The margin between the panel and its content. | AccordionPanel
|  | duotone : Array The duotone property can be used to convert the colors of the component into duotone. | AccordionPanel
|  | header : BitmapLabelButton [read-only] >> Reference to the panel header. | AccordionPanel
|  | headerSize : int The size of the header. This value controls the height of the header when the panel is in horizontal position or the width when the panel is in vertical position. | AccordionPanel
|  | toolTip : String Text to use as toolTip when ToolTip is enabled. | AccordionPanel

Public Methods

| Method | Defined by
--- | --- | ---
|  | AccordionPanel() | AccordionPanel
|  | clone():AccordionPanel Returns a clone of the accordion panel. | AccordionPanel

Property detail

background | property

`background:Image` [read-only]

>> Reference to the background image.

Implementation
`public function get background():Image`

contentHolder | property |

`contentHolder:Sprite` [read-only]

>> Reference to the content holder.

Implementation
`public function get contentHolder():Sprite`

contentMargin | property |

`contentMargin:int` [read-write]

The margin between the panel and its content.

Implementation
`public function get contentMargin():int`
`public function set contentMargin(value:int):void`

duotone | property |

`duotone:Array` [read-write]

The duotone property can be used to convert the colors of the component into duotone. The array has to contain two color values. The first one representing black, the second one representing white.

Implementation
`public function get duotone():Array`
`public function set duotone(value:Array):void`

header | property |

`header:BitmapLabelButton` [read-only]

>> Reference to the panel header.

Implementation
`public function get header():BitmapLabelButton`

headerSize | property |

`headerSize:int` [read-write]

The size of the header.
This value controls the height of the header when the panel is in horizontal position or the width when the panel is in vertical position.

Implementation
`public function get headerSize():int`
`public function set headerSize(value:int):void`

toolTip | property |

`public var toolTip:String`

Text to use as toolTip when ToolTip is enabled.

Constructor detail

AccordionPanel | () | constructor

`public function AccordionPanel()`
Method detail

clone | () | method

`public function clone():AccordionPanel`

Returns a clone of the accordion panel.

Returns

| `AccordionPanel`

Last update : 04/05/2008