Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ImageModel

Package | org.apache.flex.html.beads.models
Class | public class ImageModel
Inheritance | ImageModel EventDispatcher flash.events.EventDispatcher
Implements | IImageModel

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The ImageModel class bead defines the data associated with an org.apache.flex.html.Image component, namely the source of the image.

Public Properties

| Property | Defined By
--- | --- | ---
|  | source : String The source of the image. The source URL for the image. | ImageModel
|  | strand : IStrand [write-only] The host component for this bead. | ImageModel

Public Methods

| Method | Defined By
--- | --- | ---
|  | ImageModel() constructor. | ImageModel

Property Detail

source | property

`source:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The source of the image.

The source URL for the image. Embedding images is not recommended for FlexJS as there is no embedding support in the browsers.
Implementation
`public function get source():String`
`public function set source(value:String):void`

strand | property |

`strand:IStrand` [write-only]

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The host component for this bead.

Implementation
`public function set strand(value:IStrand):void`
Constructor Detail

ImageModel | () | Constructor

`public function ImageModel()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

Mon Sep 5 2016, 07:19 AM -07:00