Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
The UIUtils class is a collection of static functions that provide utility
features to UIBase objects.
public static function center(item:IUIBase , relativeTo:IUIBase ):void
Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
Centers the given item relative to another item. Typically the item being centered is
a child or sibling of the second item.
Parameters
item :IUIBase
— The component item being centered.
relativeTo :IUIBase
— The component used as reference for the centering.
public static function findPopUpHost(start:IUIBase ):IPopUpHost
Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
Given a component starting point, this function walks up the parent chain
looking for a component that implements the IPopUpHost interface. The function
either returns that component or null if no IPopUpHost can be found.
Parameters
start :IUIBase
— A component to start the search.
Returns IPopUpHost
— A component that implements IPopUpHost or null.
public static function removePopUp(popUp:IChild ):void
Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6
Removes the given component from the IPopUpHost.
Parameters
popUp :IChild
— A component to start the search.
The Apache Software Foundation Mon Sep 5 2016, 07:19 AM -07:00