ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.ep.ux.content.model.preview 

PreviewUIControlFactory  - AS3 ADEP Content

Packagecom.adobe.ep.ux.content.model.preview
Classpublic class PreviewUIControlFactory
InheritancePreviewUIControlFactory Inheritance Object

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Factory class for creating IPreviewUIControl preview renderers based on the mimetype of the content



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
Constructor
PreviewUIControlFactory
  
[static] If mimeType has image return DefaultImagePreviewUIControl else if mimeType has text return DefaultTextPreviewUIControl.
PreviewUIControlFactory
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Constructor Detail

PreviewUIControlFactory

()Constructor
public function PreviewUIControlFactory()

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Constructor

Method Detail

create

()method
public static function create(mimeType:String, fileData:ByteArray):IPreviewUIControl

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Content 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

If mimeType has image return DefaultImagePreviewUIControl else if mimeType has text return DefaultTextPreviewUIControl. Default DefaultTextPreviewUIControl is returned.

Parameters

mimeType:String — Content mimetype
 
fileData:ByteArray — Content Data bytes

Returns
IPreviewUIControl