Packageorg.openzet.controls
Classpublic class SearchBox
InheritanceSearchBox Inheritance SuggestInput Inheritance mx.controls.TextInput

Displays related keywords as a dropdown List when users are typing in.
Also provides icon and dropdown button to either initalize text or reflect search condition.



Public Properties
 PropertyDefined by
 InheriteddataProvider : Object
Dataprovider property to provide dropdown control with a dataProvider.
SuggestInput
 InheriteddisplayField : String
Property to specify a field name of the dataProvider on which to apply data filtering.
SuggestInput
 Inheritedlist : ListBase
Property to specify a list-like control to use as a dropdown control.
SuggestInput
  popUp : IUIComponent
Specifies the UIComponent object, or object defined by a subclass of UIComponent, to pop up.
SearchBox
  showArrowButton : Boolean
[write-only] Right arrow button's visibility
SearchBox
Public Methods
 MethodDefined by
  
constructor
SearchBox
  
close():void
Closes the UIComponent object opened by the PopUpButton control.
SearchBox
  
open():void
Opens the UIComponent object specified by the popUp property.
SearchBox
Property detail
popUpproperty
popUp:IUIComponent  [read-write]

Specifies the UIComponent object, or object defined by a subclass of UIComponent, to pop up. For example, you can specify a Menu, TileList, or Tree control.

The default value is null.

This property can be used as the source for data binding.

Implementation
    public function get popUp():IUIComponent
    public function set popUp(value:IUIComponent):void
showArrowButtonproperty 
showArrowButton:Boolean  [write-only]

Right arrow button's visibility

Implementation
    public function set showArrowButton(value:Boolean):void
Constructor detail
SearchBox()constructor
public function SearchBox()

constructor

Method detail
close()method
public function close():void

Closes the UIComponent object opened by the PopUpButton control.

open()method 
public function open():void

Opens the UIComponent object specified by the popUp property.