Packagecom.flexicious.controls.containers
Classpublic class DropdownHBox
InheritanceDropdownHBox Inheritance HBox Inheritance mx.containers.HBox
Subclasses ToolbarHBox

An extended HBOX that will display a dropdown arrow to show items that are not within the viewport.



Public Properties
 PropertyDefined 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
Protected Properties
 PropertyDefined By
 Inherited_dataBoundContainerInterface : DataBoundContainerImpl
HBox
 Inherited_filterContainerInterface : FilterContainerImpl
HBox
  obscuredChildren : Array
When we render the dropdown button, we want to hide the partially obscured children.
DropdownHBox
Public Methods
 MethodDefined By
  
DropdownHBox
 Inherited
HBox
 Inherited
Clears all the filters
HBox
  
getDropDown():UIComponent
DropdownHBox
  
getDropdownButton():UIComponent
DropdownHBox
 Inherited
getFilterArguments():ArrayCollection
Loops through all registered IFilterControls, and creates a filter
HBox
 Inherited
getFilterControls():ArrayCollection
Returns all the filter controls
HBox
 Inherited
getFilterValue(column:String):*
Used to set the initial value of the filter.
HBox
 Inherited
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
 Inherited
hasField(column:String):Boolean
Returns true if the container has a filter control that is bound to the specified column.
HBox
 Inherited
In client mode, applies all the filters
HBox
 Inherited
Registers the IDataBoundControl control in our list.
HBox
 Inherited
Registers the IFilter control in our list.
HBox
  
[override]
DropdownHBox
 Inherited
setFilterFocus(fld:String):Boolean
HBox
 Inherited
setFilterValue(column:String, value:Object):void
Used to set the initial value of the filter.
HBox
 Inherited
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
 Inherited
Registers the IFilter control in our list.
HBox
Protected Methods
 MethodDefined By
  
adjustSize(child:UIComponent):void
DropdownHBox
  
createVBox():UIComponent
DropdownHBox
  
DropdownHBox
  
onBoxClick(event:MouseEvent):void
DropdownHBox
  
onDropdownClose(event:DropdownEvent):void
DropdownHBox
  
onDropdownOpen(event:DropdownEvent):void
DropdownHBox
  
onResize(event:ResizeEvent):void
DropdownHBox
  
DropdownHBox
  
transferChildrenToDropdown(childrenToTransfer:Array):void
DropdownHBox
  
transferChildToBox(child:DisplayObject):void
DropdownHBox
  
transferChildToDropdown(child:DisplayObject):void
DropdownHBox
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
[override]
DropdownHBox
Events
 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 shownDropdownHBox
 InheritedHBox
Styles
 Style Description Defined By
  
dropDownButtonStyleName

Style Name for the dropdown button
DropdownHBox
  
dropDownStyleName

Style Name for the vertical box
DropdownHBox
Property Detail
closePopupOnClickproperty
public var closePopupOnClick:Boolean = true

Closes the popup when a click happens inside it. Defaults to true

dropDownproperty 
public var dropDown:UIComponent

The VBox to transfer the rest of the items to

dropDownButtonproperty 
public var dropDownButton:PopUpButton

The image that shows the dropdown icon

obscuredChildrenproperty 
protected var obscuredChildren:Array

When we render the dropdown button, we want to hide the partially obscured children.

Constructor Detail
DropdownHBox()Constructor
public function DropdownHBox()



Method Detail
adjustSize()method
protected function adjustSize(child:UIComponent):void

Parameters

child:UIComponent

createVBox()method 
protected function createVBox():UIComponent

Returns
UIComponent
getDropDown()method 
public function getDropDown():UIComponent

Returns
UIComponent
getDropdownButton()method 
public function getDropdownButton():UIComponent

Returns
UIComponent
initializeDropdown()method 
protected function initializeDropdown():void

onBoxClick()method 
protected function onBoxClick(event:MouseEvent):void

Parameters

event:MouseEvent

onDropdownClose()method 
protected function onDropdownClose(event:DropdownEvent):void

Parameters

event:DropdownEvent

onDropdownOpen()method 
protected function onDropdownOpen(event:DropdownEvent):void

Parameters

event:DropdownEvent

onResize()method 
protected function onResize(event:ResizeEvent):void

Parameters

event:ResizeEvent

reclaimAllChildren()method 
protected function reclaimAllChildren():void

removeAllChildren()method 
override public function removeAllChildren():void

transferChildrenToDropdown()method 
protected function transferChildrenToDropdown(childrenToTransfer:Array):void

Parameters

childrenToTransfer:Array

transferChildToBox()method 
protected function transferChildToBox(child:DisplayObject):void

Parameters

child:DisplayObject

transferChildToDropdown()method 
protected function transferChildToDropdown(child:DisplayObject):void

Parameters

child:DisplayObject

updateDisplayList()method 
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Parameters

unscaledWidth:Number
 
unscaledHeight:Number

Event Detail
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