Packagecom.esri.aws.awx.widget
Classpublic class WidgetLoader
InheritanceWidgetLoader Inheritance flash.events.EventDispatcher
Implementscom.esri.aws.osgi.framework.IBundleListener, IWidget
SubclassesBaseMapWidgetLoader, FindWidgetLoader, PanZoomWidgetLoader

WidgetLoader is a widget that is used to lazy-load other widgets.



Public Properties
 PropertyDefined by
  artifactID : String
The widget's artifactID.
WidgetLoader
  author : String
The widget author.
WidgetLoader
  description : String
The widget description.
WidgetLoader
  disabledSkin : Class
Name of "disabled" skin.
WidgetLoader
  downSkin : Class
Name of "down" skin.
WidgetLoader
  groupID : String
The widget's groupID.
WidgetLoader
  isLoaded : Boolean
True if the widget has been loaded; false otherwise.
WidgetLoader
  link : String
A link to the widget web site.
WidgetLoader
  loadSkin : Class
Name of "load" skin.
WidgetLoader
  name : String
The widget name.
WidgetLoader
  overSkin : Class
Name of "over" skin.
WidgetLoader
  toolTip : String
The toolTip value.
WidgetLoader
  upSkin : Class
Name of "up" skin.
WidgetLoader
  url : String
The URL of the widget.
WidgetLoader
  version : String
The widget's version.
WidgetLoader
  widget : IWidget
WidgetLoader
  widgetStates : Array
[read-only] The supported states of this widget.
WidgetLoader
Public Methods
 MethodDefined by
  
Creates a widget view for a given state.
WidgetLoader
  
doInstall():void
WidgetLoader
  
loadProperty(name:String, defaultValue:Object = null):Object
Loads a property from this widget module's SharedObject.
WidgetLoader
  
showHideLoadSkin(val:Boolean):void
WidgetLoader
  
storeProperty(name:String, value:Object):void
Stores properties to this widget module's SharedObject.
WidgetLoader
Events
 EventSummaryDefined by
    WidgetLoader
    WidgetLoader
Property detail
artifactIDproperty
artifactID:String  [read-write]

The widget's artifactID.

Implementation
    public function get artifactID():String
    public function set artifactID(value:String):void
authorproperty 
author:String  [read-write]

The widget author.

Implementation
    public function get author():String
    public function set author(value:String):void
descriptionproperty 
description:String  [read-write]

The widget description.

Implementation
    public function get description():String
    public function set description(value:String):void
disabledSkinproperty 
public var disabledSkin:Class

Name of "disabled" skin.

downSkinproperty 
public var downSkin:Class

Name of "down" skin.

groupIDproperty 
groupID:String  [read-write]

The widget's groupID.

The default value is com.esri.aws.awx.

Implementation
    public function get groupID():String
    public function set groupID(value:String):void
isLoadedproperty 
public var isLoaded:Boolean

True if the widget has been loaded; false otherwise.

linkproperty 
link:String  [read-write]

A link to the widget web site.

Implementation
    public function get link():String
    public function set link(value:String):void
loadSkinproperty 
public var loadSkin:Class

Name of "load" skin.

nameproperty 
name:String  [read-write]

The widget name.

Implementation
    public function get name():String
    public function set name(value:String):void
overSkinproperty 
public var overSkin:Class

Name of "over" skin.

toolTipproperty 
public var toolTip:String

The toolTip value.

upSkinproperty 
public var upSkin:Class

Name of "up" skin.

urlproperty 
public var url:String

The URL of the widget.

versionproperty 
version:String  [read-write]

The widget's version.

The default value is SNAPSHOT.

Implementation
    public function get version():String
    public function set version(value:String):void
widgetproperty 
public var widget:IWidget
widgetStatesproperty 
widgetStates:Array  [read-only]

The supported states of this widget.

Implementation
    public function get widgetStates():Array
Method detail
createWidgetView()method
public function createWidgetView(widgetState:String):IWidgetView

Creates a widget view for a given state.

Parameters
widgetState:String

Returns
IWidgetView — The widget view.
doInstall()method 
public function doInstall():void
loadProperty()method 
public function loadProperty(name:String, defaultValue:Object = null):Object

Loads a property from this widget module's SharedObject.

Parameters
name:String — the name of the property to be loaded.
 
defaultValue:Object (default = null) — an optional default value.

Returns
Object — The value.
showHideLoadSkin()method 
public function showHideLoadSkin(val:Boolean):voidParameters
val:Boolean
storeProperty()method 
public function storeProperty(name:String, value:Object):void

Stores properties to this widget module's SharedObject.

Parameters
name:String — the name of the property to be stored.
 
value:Object — the value of the property to be stored.
Event detail
widgetLoadedevent 
Event object type: com.esri.aws.awx.events.WidgetLoaderEvent

widgetLoadingevent  
Event object type: com.esri.aws.awx.events.WidgetLoaderEvent