ImageStrip (ImageStrip)
UIComponent
|
+--ImageStrip
- class ImageStrip
extends UIComponent
The ImageStrip class creates a horizontal or vertical list of images (gif, jpg, png, swf)
Property summary
| Property | Description |
|---|---|
columnWidth:Number |
[read-write]
Gets or sets the width (in pixels) of a column The default value is 200. |
dataProvider:DataProvider |
[read-write]
Gets or sets the data model of the list of items to be viewed. A data provider can be shared by multiple list-based components. Changes to the data provider are immediately available to all components that use it as a data source. The default value is null. |
direction:String |
[read-write]
Gets or sets the layout orientation of the ImageStrip component. Accepts the following values:
The default value is “horizontal”. |
enabled:Boolean |
[read-write]
Gets or sets a value that indicates whether the component can accept user interaction. |
imageField:String |
[read-write]
Gets or sets the item field that provides the image for the item. |
linkField:String |
[read-write]
Gets or sets the item field that provides the url for the item. |
padding:Number |
[read-write]
Gets or sets the distance (in pixels) between columns or rows. The default value is 5. |
rowWidth:Number |
[read-write]
Gets or sets the height (in pixels) of a row The default value is 100. |
Method summary
| Method | Description |
|---|---|
redraw(event:) : void |
Initiates the internal draw() function |
ImageStrip()
Description
Creates a new Crossfader component instance
redraw(event:) : void
Usage
public function redraw(event = null):void
Parameters
Returns
Nothing.
Description
Initiates the internal draw() function
columnWidth : Number
Usage
public function get columnWidth():Number
Description
[read-write]
Gets or sets the width (in pixels) of a column
The default value is 200.
dataProvider : DataProvider
Usage
public function get dataProvider():DataProvider
Description
[read-write]
Gets or sets the data model of the list of items to be viewed.
A data provider can be shared by multiple list-based components.
Changes to the data provider are immediately available to all components that use it as a data source.
The default value is null.
direction : String
Usage
public function get direction():String
Description
[read-write]
Gets or sets the layout orientation of the ImageStrip component.
Accepts the following values:
- ImageStripDirection.HORIZONTAL = ‘horizontal’
- ImageStripDirection.VERTICAL = ‘vertical’
The default value is “horizontal”.
enabled : Boolean
Usage
override public function get enabled():Boolean
Description
[read-write]
Gets or sets a value that indicates whether the component can accept user interaction.
The default value is true.
imageField : String
Usage
public function get imageField():String
Description
[read-write]
Gets or sets the item field that provides the image for the item.
The default value is “src”.
linkField : String
Usage
public function get linkField():String
Description
[read-write]
Gets or sets the item field that provides the url for the item.
The default value is “link”.
padding : Number
Usage
public function get padding():Number
Description
[read-write]
Gets or sets the distance (in pixels) between columns or rows.
The default value is 5.
rowWidth : Number
Usage
public function get rowWidth():Number
Description
[read-write]
Gets or sets the height (in pixels) of a row
The default value is 100.