Packagecom.esri.aws.awx.widget
Classpublic class WidgetPopupManager

WidgetPopupManager is used to open and close FloatingWidgetContainers with their corresponding widgets. Optionally, you can open the widgets at a specific location.


Example
Open a widget:
          WidgetPopupManager.openWidget(findW);
     

Open a widget in a specific location:
          WidgetPopupManager.openWidget(baseMapW,10,60);
     

See also

com.esri.aws.awx.widget.FloatingWidgetContainer
Live sample - using widgets - Flex API
http://www.arcwebservices.com/v2006/awxlab/Content/flex/widgets.htm
http://www.arcwebservices.com/v2006/awxlab/Content/flex/widgets_create.htm


Public Methods
 MethodDefined by
  
closeWidget(widget:IWidget):void
[static] Close a widget in a FloatingWidgetContainer.
WidgetPopupManager
  
isWidgetOpen(widget:IWidget):Boolean
[static] Check to see if a widget has already been opened.
WidgetPopupManager
  
openWidget(widget:IWidget, x:Number, y:Number, containerClass:Class = null):void
[static] Pop open a widget in a FloatingWidgetContainer.
WidgetPopupManager
Method detail
closeWidget()method
public static function closeWidget(widget:IWidget):void

Close a widget in a FloatingWidgetContainer.

Parameters
widget:IWidget — the IWidget to be closed.
isWidgetOpen()method 
public static function isWidgetOpen(widget:IWidget):Boolean

Check to see if a widget has already been opened.

Parameters
widget:IWidget — the IWidget to be checked.

Returns
Boolean
openWidget()method 
public static function openWidget(widget:IWidget, x:Number, y:Number, containerClass:Class = null):void

Pop open a widget in a FloatingWidgetContainer. If the specified x and/or y are outside the current map, they will be modified so that the widget shows up inside. If x and y are not specified, the widget will open at its last location.

Parameters
widget:IWidget — the IWidget to be opened.
 
x:Number — the x-position of the opening widget container.
 
y:Number — the y-position of the opening widget container.
 
containerClass:Class (default = null) — the class of the WidgetContainer being opened.