包 | com.adobe.livecycle.assetmanager.client.event |
类 | public class SearchEvent |
继承 | SearchEvent Event Object |
不推荐使用: Deprecated
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
bubbles : Boolean [只读]
表示事件是否为冒泡事件。 | Event | ||
cancelable : Boolean [只读]
表示是否可以阻止与事件相关联的行为。 | Event | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
currentTarget : Object [只读]
当前正在使用某个事件侦听器处理 Event 对象的对象。 | Event | ||
eventPhase : uint [只读]
事件流中的当前阶段。 | Event | ||
searchFilter : SearchFilter
Specifies a new search filter when a user changes the search criteria. | SearchEvent | ||
searchQuery : SearchQuery
Specifies the searchQuery when a doSearch or searchComplete event is thrown. | SearchEvent | ||
searchResults : ListCollectionView
Specifies the searchResults collection when the searchComplete event is thrown. | SearchEvent | ||
target : Object [只读]
事件目标。 | Event | ||
type : String [只读]
事件的类型。 | Event |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | SearchEvent | ||
复制 Event 子类的实例。 | Event | ||
用于在自定义 ActionScript 3.0 Event 类中实现 toString() 方法的实用程序函数。 | Event | ||
表示对象是否已经定义了指定的属性。 | Object | ||
检查是否已对事件调用 preventDefault() 方法。 | Event | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
如果可以取消事件的默认行为,则取消该行为。 | Event | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
设置循环操作动态属性的可用性。 | Object | ||
防止对事件流中当前节点中和所有后续节点中的事件侦听器进行处理。 | Event | ||
防止对事件流中当前节点的后续节点中的所有事件侦听器进行处理。 | Event | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回一个字符串,其中包含 Event 对象的所有属性。 | Event | ||
返回指定对象的原始值。 | Object |
公共常量
常量 | 由以下参数定义 | ||
---|---|---|---|
EVENT_DO_SEARCH : String = "doSearch" [静态]
Specifies the type of event when a search is executed. | SearchEvent | ||
EVENT_SEARCH_COMPLETE : String = "searchComplete" [静态]
Specifies the type of event when the search is complete. | SearchEvent | ||
EVENT_SEARCH_FILTER_CHANGE : String = "searchFilterChange" [静态]
Specifies the type of event when a user has changed the search criteria. | SearchEvent |
属性详细信息
searchFilter | 属性 |
public var searchFilter:SearchFilter
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a new search filter when a user changes the search criteria. Used with the searchFilterChange event type.
searchQuery | 属性 |
public var searchQuery:SearchQuery
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the searchQuery when a doSearch or searchComplete event is thrown.
searchResults | 属性 |
public var searchResults:ListCollectionView
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the searchResults collection when the searchComplete event is thrown.
构造函数详细信息
SearchEvent | () | 构造函数 |
public function SearchEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false)
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
参数type:String — Specifies the type of event when a user has changed the search criteria.
| |
bubbles:Boolean (default = true ) — Specifies whether an event can bubble. That is, whether the event flow through the display list hierachy has a bubbling phase.
| |
cancelable:Boolean (default = false ) — Specifies whether the behavior associated with the event can be prevented.
|
常量详细信息
EVENT_DO_SEARCH | 常量 |
public static const EVENT_DO_SEARCH:String = "doSearch"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the type of event when a search is executed.
EVENT_SEARCH_COMPLETE | 常量 |
public static const EVENT_SEARCH_COMPLETE:String = "searchComplete"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the type of event when the search is complete.
EVENT_SEARCH_FILTER_CHANGE | 常量 |
public static const EVENT_SEARCH_FILTER_CHANGE:String = "searchFilterChange"
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the type of event when a user has changed the search criteria.
Tue Jun 12 2018, 11:04 AM Z