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.search 

SearchUIControlFactory  - AS3 ADEP Content

Packagecom.adobe.ep.ux.content.model.search
Classpublic class SearchUIControlFactory
InheritanceSearchUIControlFactory 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 ISearchUIControl search renderers based onn the Asset Property Descriptor



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
SearchUIControlFactory
  
[static] If propDesc.optionList is not null then return ComboBoxSearchRenderer else return the search renderers based on property desriptor searchRenderer or propertyType.
SearchUIControlFactory
 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

SearchUIControlFactory

()Constructor
public function SearchUIControlFactory()

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(propDesc:AssetPropertyDescriptor, basicSearch:Boolean = false, assetTypeDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor = null):ISearchUIControl

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

If propDesc.optionList is not null then return ComboBoxSearchRenderer else return the search renderers based on property desriptor searchRenderer or propertyType.

Parameters

propDesc:AssetPropertyDescriptor — Property descriptor for which renderer is needed
 
basicSearch:Boolean (default = false) — is renderer required for Basic Search. default is false.
 
assetTypeDescriptor:com.adobe.ep.ux.content.model.asset:AssetTypeDescriptor (default = null) — The asset type descriptor of the asset for which search renderer is to be created

Returns
ISearchUIControl — An instance of the created search renderer based on inputs