| Package | com.flexicious.controls.containers |
| Class | public class DropdownHBox |
| Inheritance | DropdownHBox HBox mx.containers.HBox |
| Subclasses | ToolbarHBox |
| Property | Defined By | ||
|---|---|---|---|
| closePopupOnClick : Boolean = true
Closes the popup when a click happens inside it. | DropdownHBox | ||
| dropDown : UIComponent
The VBox to transfer the rest of the items to
| DropdownHBox | ||
| dropDownButton : PopUpButton
The image that shows the dropdown icon
| DropdownHBox | ||
| Property | Defined By | ||
|---|---|---|---|
![]() | _dataBoundContainerInterface : DataBoundContainerImpl | HBox | |
![]() | _filterContainerInterface : FilterContainerImpl | HBox | |
| obscuredChildren : Array
When we render the dropdown button, we want to hide the partially obscured children. | DropdownHBox | ||
| Method | Defined By | ||
|---|---|---|---|
| DropdownHBox | |||
![]() | applyChanges():void | HBox | |
![]() | clearFilter():void
Clears all the filters
| HBox | |
getDropDown():UIComponent | DropdownHBox | ||
getDropdownButton():UIComponent | DropdownHBox | ||
![]() | getFilterArguments():ArrayCollection
Loops through all registered IFilterControls, and creates a filter
| HBox | |
![]() | getFilterControls():ArrayCollection
Returns all the filter controls
| HBox | |
![]() | getFilterValue(column:String):*
Used to set the initial value of the filter. | HBox | |
![]() | getNextFocusableFilter(myIndex:int, forward:Boolean, inclusive:Boolean = false):IFocusManagerComponent
Gets the next focusable filter control starting at myIndex, proceeding in
forward or backward direction based on the forward parameter
| HBox | |
![]() | hasField(column:String):Boolean
Returns true if the container has a filter control
that is bound to the specified column. | HBox | |
![]() | processFilter():void
In client mode, applies all the filters
| HBox | |
![]() | registerIDataBoundControl(iDataBoundControl:IDataBoundControl):void
Registers the IDataBoundControl control in our list. | HBox | |
![]() | registerIFilterControl(iFilterControl:IFilterControl):void
Registers the IFilter control in our list. | HBox | |
removeAllChildren():void [override] | DropdownHBox | ||
![]() | setFilterFocus(fld:String):Boolean | HBox | |
![]() | setFilterValue(column:String, value:Object):void
Used to set the initial value of the filter. | HBox | |
![]() | setFocusOnNextFocusableControl(myIndex:int, forward:Boolean, inclusive:Boolean = false):Boolean
Sets the focus on the next focusable filter control starting at myIndex, proceeding in
forward or backward direction based on the forward parameter
| HBox | |
![]() | unRegisterIFilterControl(iFilterControl:IFilterControl):void
Registers the IFilter control in our list. | HBox | |
| Method | Defined By | ||
|---|---|---|---|
adjustSize(child:UIComponent):void | DropdownHBox | ||
createVBox():UIComponent | DropdownHBox | ||
initializeDropdown():void | DropdownHBox | ||
onBoxClick(event:MouseEvent):void | DropdownHBox | ||
onDropdownClose(event:DropdownEvent):void | DropdownHBox | ||
onDropdownOpen(event:DropdownEvent):void | DropdownHBox | ||
onResize(event:ResizeEvent):void | DropdownHBox | ||
reclaimAllChildren():void | DropdownHBox | ||
transferChildrenToDropdown(childrenToTransfer:Array):void | DropdownHBox | ||
transferChildToBox(child:DisplayObject):void | DropdownHBox | ||
transferChildToDropdown(child:DisplayObject):void | DropdownHBox | ||
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] | DropdownHBox | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when a child is about to be transferred from the dropdown to the Hbox. | DropdownHBox | |||
| Dispatched when a child is moved from the parent HBox to the dropdown. | DropdownHBox | |||
| Dispatched when the vbox is shown | DropdownHBox | |||
![]() | HBox | |||
| Style | Description | Defined By | ||
|---|---|---|---|---|
dropDownButtonStyleName | Style Name for the dropdown button | DropdownHBox | ||
dropDownStyleName | Style Name for the vertical box | DropdownHBox | ||
| closePopupOnClick | property |
public var closePopupOnClick:Boolean = trueCloses the popup when a click happens inside it. Defaults to true
| dropDown | property |
public var dropDown:UIComponentThe VBox to transfer the rest of the items to
| dropDownButton | property |
public var dropDownButton:PopUpButtonThe image that shows the dropdown icon
| obscuredChildren | property |
protected var obscuredChildren:ArrayWhen we render the dropdown button, we want to hide the partially obscured children.
| DropdownHBox | () | Constructor |
public function DropdownHBox()| adjustSize | () | method |
protected function adjustSize(child:UIComponent):voidParameters
child:UIComponent |
| createVBox | () | method |
protected function createVBox():UIComponentReturnsUIComponent |
| getDropDown | () | method |
public function getDropDown():UIComponentReturnsUIComponent |
| getDropdownButton | () | method |
public function getDropdownButton():UIComponentReturnsUIComponent |
| initializeDropdown | () | method |
protected function initializeDropdown():void| onBoxClick | () | method |
protected function onBoxClick(event:MouseEvent):voidParameters
event:MouseEvent |
| onDropdownClose | () | method |
protected function onDropdownClose(event:DropdownEvent):voidParameters
event:DropdownEvent |
| onDropdownOpen | () | method |
protected function onDropdownOpen(event:DropdownEvent):voidParameters
event:DropdownEvent |
| onResize | () | method |
protected function onResize(event:ResizeEvent):voidParameters
event:ResizeEvent |
| reclaimAllChildren | () | method |
protected function reclaimAllChildren():void| removeAllChildren | () | method |
override public function removeAllChildren():void| transferChildrenToDropdown | () | method |
protected function transferChildrenToDropdown(childrenToTransfer:Array):voidParameters
childrenToTransfer:Array |
| transferChildToBox | () | method |
protected function transferChildToBox(child:DisplayObject):voidParameters
child:DisplayObject |
| transferChildToDropdown | () | method |
protected function transferChildToDropdown(child:DisplayObject):voidParameters
child:DisplayObject |
| updateDisplayList | () | method |
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidParameters
unscaledWidth:Number | |
unscaledHeight:Number |
| childReclaimed | Event |
Dispatched when a child is about to be transferred from the dropdown to the Hbox.
| childRemoved | Event |
Dispatched when a child is moved from the parent HBox to the dropdown.
| dropDownShown | Event |
Dispatched when the vbox is shown