| Package | com.flextras.autoCompleteComboBox |
| Class | public class AutoCompleteComboBoxResizeEvent |
| Inheritance | AutoCompleteComboBoxResizeEvent flash.events.Event |
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 See also
| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
AutoCompleteComboBoxResizeEvent(type:String, argcurrentSize:int = -1, argnewSize:int = -1, bubbles:Boolean = false, cancelable:Boolean = false)
constructor
| AutoCompleteComboBoxResizeEvent | ||
| Constant | Defined 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 | ||
| currentSize | property |
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.
public function get currentSize():int
public function set currentSize(value:int):void
| newSize | property |
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.
public function get newSize():int
public function set newSize(value:int):void
| AutoCompleteComboBoxResizeEvent | () | constructor |
public function AutoCompleteComboBoxResizeEvent(type:String, argcurrentSize:int = -1, argnewSize:int = -1, bubbles:Boolean = false, cancelable:Boolean = false)constructor
Parameterstype:String |
|
argcurrentSize:int (default = -1) |
|
argnewSize:int (default = -1) |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
| DROPDOWN_HEIGHT_EXPANDED | constant |
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.
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The 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. |
target | The 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. |
currentSize | The current height of the drop down |
newSize | The new height of the drop down |
type | AutoCompleteComboBoxResizeEvent.DROPDOWN_HEIGHT_EXPANDED |
See also
| DROPDOWN_WIDTH_EXPAND_BEGIN | constant |
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.
| Property | Value |
|---|---|
bubbles | false |
cancelable | true |
currentSize | The current width of the drop down |
currentTarget | The 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. |
newSize | The new width we're about to set the drop down to |
target | The 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. |
type | AutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPAND_BEGIN |
See also
| DROPDOWN_WIDTH_EXPAND_CANCELLED | constant |
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.
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentSize | The current width of the drop down. This will be the same as the newSize |
currentTarget | The 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. |
newSize | The width the drop down was just set to. |
target | The 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. |
type | AutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPAND_CANCELLED |
See also
| DROPDOWN_WIDTH_EXPANDED | constant |
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.
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentSize | The current width of the drop down. This will be the same as the newSize |
currentTarget | The 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. |
newSize | The width the drop down was just set to. |
target | The 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. |
type | AutoCompleteComboBoxResizeEvent.DROPDOWN_WIDTH_EXPANDED |
See also