Packagecom.adobe.portfolio.previews
Interfacepublic interface IPreviewModel extends flash.events.IEventDispatcher
Implementors PreviewModel

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The IPreviewModel interface extends IEventDispatcher and defines the base functionality of the model used by the Preview component.



Public Properties
 PropertyDefined By
  mimeType : String
[read-only] The mimeType of the source data.
IPreviewModel
  source : Object
The source data of a preview.
IPreviewModel
  thumbnail : Bitmap
A thumbnail of the associated source object.
IPreviewModel
Events
 Event Summary Defined By
  An event that is dispatched when the source changes.IPreviewModel
  An event that is dispatched when the thumbnail changes.IPreviewModel
Property Detail
mimeTypeproperty
mimeType:String  [read-only]

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The mimeType of the source data.


Implementation
    public function get mimeType():String
sourceproperty 
source:Object

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The source data of a preview. The data may take a variety of forms, depending on the model type.

This property can be used as the source for data binding.


Implementation
    public function get source():Object
    public function set source(value:Object):void
thumbnailproperty 
thumbnail:Bitmap

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

A thumbnail of the associated source object.

This property can be used as the source for data binding.


Implementation
    public function get thumbnail():Bitmap
    public function set thumbnail(value:Bitmap):void
Event Detail
sourceChanged Event
Event Object Type: com.adobe.portfolio.events.PreviewEvent

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

An event that is dispatched when the source changes.

See also

com.adobe.portfolio.events.PreviewEvent.SOURCE_CHANGED
thumbnailChanged Event  
Event Object Type: com.adobe.portfolio.events.PreviewEvent

Product Version :  Acrobat ActionScript API 10.0

An event that is dispatched when the thumbnail changes.

See also

com.adobe.portfolio.events.PreviewEvent.THUMBNAIL_CHANGED