| Package | org.robotlegs.core |
| Interface | public interface IViewMap |
| Implementors | ViewMap |
| Property | Defined By | ||
|---|---|---|---|
| contextView : DisplayObjectContainer
The IViewMap's DisplayObjectContainer
| IViewMap | ||
| enabled : Boolean
The IViewMap's enabled status
| IViewMap | ||
| Method | Defined 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 | ||
| contextView | property |
contextView:DisplayObjectContainer
The IViewMap's DisplayObjectContainer
public function get contextView():DisplayObjectContainer public function set contextView(value:DisplayObjectContainer):void| enabled | property |
enabled:Boolean
The IViewMap's enabled status
public function get enabled():Boolean public function set enabled(value:Boolean):void| hasPackage | () | method |
public function hasPackage(packageName:String):BooleanCheck if a package has been registered for automatic injection
Parameters
packageName:String — The substring to compare
|
Boolean — Whether a package has been registered for automatic injection
|
| hasType | () | method |
public function hasType(type:Class):BooleanCheck if a class or interface has been registered for automatic injection
Parameters
type:Class — The concrete view interface
|
Boolean — Whether an interface has been registered for automatic injection
|
| mapPackage | () | method |
public function mapPackage(packageName:String):voidMap an entire package (including sub-packages) for automatic injection
Parameters
packageName:String — The substring to compare
|
| mapType | () | method |
public function mapType(type:Class):voidMap a view component class or interface for automatic injection
Parameters
type:Class — The concrete view Interface
|
| unmapPackage | () | method |
public function unmapPackage(packageName:String):voidUnmap a package
Parameters
packageName:String — The substring to compare
|
| unmapType | () | method |
public function unmapType(type:Class):voidUnmap a view component class or interface
Parameters
type:Class — The concrete view Interface
|