Packageorg.robotlegs.core
Interfacepublic interface IViewMap
Implementors ViewMap

The Robotlegs ViewMap contract. All IViewMap automatic injections occur AFTER the view components are added to the stage.



Public Properties
 PropertyDefined By
  contextView : DisplayObjectContainer
The IViewMap's DisplayObjectContainer
IViewMap
  enabled : Boolean
The IViewMap's enabled status
IViewMap
Public Methods
 MethodDefined By
  
hasPackage(packageName:String):Boolean
Check if a package has been registered for automatic injection
IViewMap
  
hasType(type:Class):Boolean
Check if a class or interface has been registered for automatic injection
IViewMap
  
mapPackage(packageName:String):void
Map an entire package (including sub-packages) for automatic injection
IViewMap
  
mapType(type:Class):void
Map a view component class or interface for automatic injection
IViewMap
  
unmapPackage(packageName:String):void
Unmap a package
IViewMap
  
unmapType(type:Class):void
Unmap a view component class or interface
IViewMap
Property Detail
contextViewproperty
contextView:DisplayObjectContainer

The IViewMap's DisplayObjectContainer


Implementation
    public function get contextView():DisplayObjectContainer
    public function set contextView(value:DisplayObjectContainer):void
enabledproperty 
enabled:Boolean

The IViewMap's enabled status


Implementation
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void
Method Detail
hasPackage()method
public function hasPackage(packageName:String):Boolean

Check if a package has been registered for automatic injection

Parameters

packageName:String — The substring to compare

Returns
Boolean — Whether a package has been registered for automatic injection
hasType()method 
public function hasType(type:Class):Boolean

Check if a class or interface has been registered for automatic injection

Parameters

type:Class — The concrete view interface

Returns
Boolean — Whether an interface has been registered for automatic injection
mapPackage()method 
public function mapPackage(packageName:String):void

Map an entire package (including sub-packages) for automatic injection

Parameters

packageName:String — The substring to compare

mapType()method 
public function mapType(type:Class):void

Map a view component class or interface for automatic injection

Parameters

type:Class — The concrete view Interface

unmapPackage()method 
public function unmapPackage(packageName:String):void

Unmap a package

Parameters

packageName:String — The substring to compare

unmapType()method 
public function unmapType(type:Class):void

Unmap a view component class or interface

Parameters

type:Class — The concrete view Interface