Packagelc.search
Classpublic class SearchSelectorModel
InheritanceSearchSelectorModel Inheritance PresentationModel Inheritance EventDispatcher Inheritance Object

The SearchSelectorModel class provides support for the SearchSelector component.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  searchTemplateDescriptor : SearchTemplateDescriptor
The search template descriptor.
SearchSelectorModel
 Inheritedsession : SessionMap
A SessionMap object that stores information relating to the server session.
PresentationModel
 Inheritedstate : String
[read-only] The name of the state the current view is in.
PresentationModel
Public Methods
 MethodDefined By
  
Constructor.
SearchSelectorModel
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or property chain on the source object.
PresentationModel
  
Closes a query.
SearchSelectorModel
  
An event listener that handles when the result page closes.
SearchSelectorModel
  
An event listener that handles when the task details page closes.
SearchSelectorModel
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
getCSSStyle(declaration:String, styleProperty:String, defaultValue:Object = null):Object
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters.
PresentationModel
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Subclasses can override this method, which initializes the presentation model after the view bindings have been processed to prevent view bindings from overriding the initial model state.
PresentationModel
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
Opens details page for the given task.
SearchSelectorModel
  
openQuery(searchTemplateDescriptor:SearchTemplateDescriptor):void
Opens a query for the given search template descriptor.
SearchSelectorModel
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
An event listener for SearchTemplateEvent.SEARCH_CANCELLED event.
SearchSelectorModel
  
An event listener that handles when the task details closes.
SearchSelectorModel
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined By
 Inherited
setState(newState:String):void
Sets the 'state' property to a new value and causes a PropertyChangeEvent event.
PresentationModel
Events
 Event Summary Defined By
 Inherited Dispatched when Flash Player gains operating system focus and becomes active.EventDispatcher
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.EventDispatcher
Public Constants
 ConstantDefined By
  STATE_LIST_SELECTOR : String = "listSelectorState"
[static] The model is set into this state when a user can select from a list.
SearchSelectorModel
  STATE_QUERY : String = "queryState"
[static] The model is set into this state when a user can perform a query.
SearchSelectorModel
  STATE_RESULTS : String = "resultsState"
[static] The model is set into this state when a user can display the searching result.
SearchSelectorModel
  STATE_TASK_DETAILS : String = "detailsSelectorState"
[static] The model is set into this state when a user can show the details of a task.
SearchSelectorModel
Property Detail
searchTemplateDescriptorproperty
public var searchTemplateDescriptor:SearchTemplateDescriptor

The search template descriptor.

See also

Constructor Detail
SearchSelectorModel()Constructor
public function SearchSelectorModel()

Constructor.

Method Detail
closeQuery()method
public function closeQuery():void

Closes a query.

closeResults()method 
public function closeResults():void

An event listener that handles when the result page closes.

closeTaskDetails()method 
public function closeTaskDetails():void

An event listener that handles when the task details page closes.

openDetails()method 
public function openDetails(task:Task):void

Opens details page for the given task.

Parameters

task:Task — The task to be opened for displaying its details.

openQuery()method 
public function openQuery(searchTemplateDescriptor:SearchTemplateDescriptor):void

Opens a query for the given search template descriptor.

Parameters

searchTemplateDescriptor:SearchTemplateDescriptor — The SearchTemplateDescriptor to be opened for query.

taskDetailsCancel()method 
public function taskDetailsCancel(value:Object):void

An event listener for SearchTemplateEvent.SEARCH_CANCELLED event.

Parameters

value:Object — An value of Object type, which can be a value of null.

taskDetailsClose()method 
public function taskDetailsClose():void

An event listener that handles when the task details closes.

Constant Detail
STATE_LIST_SELECTORConstant
public static const STATE_LIST_SELECTOR:String = "listSelectorState"

The model is set into this state when a user can select from a list.

STATE_QUERYConstant 
public static const STATE_QUERY:String = "queryState"

The model is set into this state when a user can perform a query.

STATE_RESULTSConstant 
public static const STATE_RESULTS:String = "resultsState"

The model is set into this state when a user can display the searching result.

STATE_TASK_DETAILSConstant 
public static const STATE_TASK_DETAILS:String = "detailsSelectorState"

The model is set into this state when a user can show the details of a task.





 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/lc/search/SearchSelectorModel.html