Packagecom.flextras.autoCompleteComboBox
Classpublic class AutoCompleteComboBoxResizeEvent
InheritanceAutoCompleteComboBoxResizeEvent Inheritance flash.events.Event

The AutoCompleteComboBoxResizeEvent class represents drop down resize events associated with the AutoCompleteComboBox, either when the height is changed for AutoComplete purposes, or when the width is expanded for expandDropDownToContent purposes.

See also



Public Properties
 PropertyDefined by
  currentSize : int
The currentSize property contains the current size of the AutoCompleteComboBox drop down, either height or width, depending on the event type.
AutoCompleteComboBoxResizeEvent
  newSize : int
The newSize property contains the new size of the AutoCompleteComboBox drop down, either height or width, depending on the event type.
AutoCompleteComboBoxResizeEvent
Public Methods
 MethodDefined by
  
AutoCompleteComboBoxResizeEvent(type:String, argcurrentSize:int = -1, argnewSize:int = -1, bubbles:Boolean = false, cancelable:Boolean = false)
constructor
AutoCompleteComboBoxResizeEvent
Public Constants
 ConstantDefined by
  DROPDOWN_HEIGHT_EXPANDED : String = "dropdownHeightExpanded"
[static] The AutoCompleteComboBoxEvent.DROPDOWN_HEIGHT_EXPANDED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox autoCompleteEnabled is set to true and we just shrank or expanded the height of the drop down to accommodate filtering, which either removed or added items or added items.
AutoCompleteComboBoxResizeEvent
  DROPDOWN_WIDTH_EXPAND_BEGIN : String = "dropdownWidthExpandBegin"
[static] The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPAND_BEGIN constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and we're about to set a new width.
AutoCompleteComboBoxResizeEvent
  DROPDOWN_WIDTH_EXPAND_CANCELLED : String = "dropdownWidthExpandCancelled"
[static] The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPAND_CANCELLED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and the AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPAND_BEGIN event was cancelled.
AutoCompleteComboBoxResizeEvent
  DROPDOWN_WIDTH_EXPANDED : String = "dropdownWidthExpanded"
[static] The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPANDED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and we just expanded the width of the drop down.
AutoCompleteComboBoxResizeEvent
Property detail
currentSizeproperty
currentSize:int  [read-write]

The currentSize property contains the current size of the AutoCompleteComboBox drop down, either height or width, depending on the event type.

Implementation
    public function get currentSize():int
    public function set currentSize(value:int):void
newSizeproperty 
newSize:int  [read-write]

The newSize property contains the new size of the AutoCompleteComboBox drop down, either height or width, depending on the event type.

Implementation
    public function get newSize():int
    public function set newSize(value:int):void
Constructor detail
AutoCompleteComboBoxResizeEvent()constructor
public function AutoCompleteComboBoxResizeEvent(type:String, argcurrentSize:int = -1, argnewSize:int = -1, bubbles:Boolean = false, cancelable:Boolean = false)

constructor

Parameters
type:String
 
argcurrentSize:int (default = -1)
 
argnewSize:int (default = -1)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
DROPDOWN_HEIGHT_EXPANDEDconstant
public static const DROPDOWN_HEIGHT_EXPANDED:String = "dropdownHeightExpanded"

The AutoCompleteComboBoxEvent.DROPDOWN_HEIGHT_EXPANDED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox autoCompleteEnabled is set to true and we just shrank or expanded the height of the drop down to accommodate filtering, which either removed or added items or added items. Not every filtering action will cause this event to fire.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
currentSizeThe current height of the drop down
newSizeThe new height of the drop down
typeAutoCompleteComboBoxResizeEvent.DROPDOWN_HEIGHT_EXPANDED

See also

DROPDOWN_WIDTH_EXPAND_BEGINconstant 
public static const DROPDOWN_WIDTH_EXPAND_BEGIN:String = "dropdownWidthExpandBegin"

The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPAND_BEGIN constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and we're about to set a new width. If this event is cancelled, the width will be set to the width of the AutoCompleteComboBox instance.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelabletrue
currentSizeThe current width of the drop down
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
newSizeThe new width we're about to set the drop down to
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeAutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPAND_BEGIN

See also

DROPDOWN_WIDTH_EXPAND_CANCELLEDconstant 
public static const DROPDOWN_WIDTH_EXPAND_CANCELLED:String = "dropdownWidthExpandCancelled"

The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPAND_CANCELLED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and the AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPAND_BEGIN event was cancelled. This means that the drop down was reset to the width of the AutoCompleteComboBox

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentSizeThe current width of the drop down. This will be the same as the newSize
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
newSizeThe width the drop down was just set to.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeAutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPAND_CANCELLED

See also

DROPDOWN_WIDTH_EXPANDEDconstant 
public static const DROPDOWN_WIDTH_EXPANDED:String = "dropdownWidthExpanded"

The AutoCompleteComboBoxEvent.DROPDOWN_WIDTH_EXPANDED constant defines the value of the type property of the event object for an event that is dispatched when the AutoCompleteComboBox expandDropDownToContent is set to true and we just expanded the width of the drop down.

The properties of the event object have the following values. Not all properties are meaningful for all kinds of events. See the detailed property descriptions for more information.

PropertyValue
bubblesfalse
cancelablefalse
currentSizeThe current width of the drop down. This will be the same as the newSize
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
newSizeThe width the drop down was just set to.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.
typeAutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPANDED

See also