Packagecom.adobe.portfolio.previews
Classpublic class PreviewModel
InheritancePreviewModel Inheritance flash.events.EventDispatcher
Implements IPreviewModel
Subclasses PreviewMediaModel, PreviewMultiPageModel, PreviewSinglePageModel

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

The PreviewModel class implements the IPreviewModel interface and is required for the Preview component.



Public Properties
 PropertyDefined By
  mimeType : String
PreviewModel
  source : Object
The source data of a preview.
PreviewModel
  thumbnail : Bitmap
A thumbnail of the associated source object.
PreviewModel
Protected Properties
 PropertyDefined By
  UID : String
[read-only]
PreviewModel
Public Methods
 MethodDefined By
  
PreviewModel
  
toString():String
[override]
PreviewModel
Events
 Event Summary Defined By
  An event that is dispatched when the source changes.PreviewModel
  An event that is dispatched when the thumbnail changes.PreviewModel
Protected Constants
 ConstantDefined By
  logger : ILogger
[static]
PreviewModel
Property Detail
mimeTypeproperty
mimeType:String


Implementation
    public function get mimeType():String
    public function set mimeType(value:String):void
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
UIDproperty 
UID:String  [read-only]


Implementation
    protected function get UID():String
Constructor Detail
PreviewModel()Constructor
public function PreviewModel()



Method Detail
toString()method
override public function toString():String

Returns
String
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
Constant Detail
loggerConstant
protected static const logger:ILogger