Package | org.spicefactory.lib.command.light |
Class | public class LightCommandAdapterFactory |
Inheritance | LightCommandAdapterFactory Object |
Implements | CommandAdapterFactory |
Method | Defined By | ||
---|---|---|---|
createAdapter(instance:Object, domain:ApplicationDomain = null):CommandAdapter
Creates a new adapter for the specified target command. | LightCommandAdapterFactory | ||
register():void [static]
Registers this adapter, making Light Commands available for all command
builder types. | LightCommandAdapterFactory |
createAdapter | () | method |
public function createAdapter(instance:Object, domain:ApplicationDomain = null):CommandAdapter
Creates a new adapter for the specified target command.
Parameters
instance:Object — the target command that usually does not implement one of the Command interfaces
| |
domain:ApplicationDomain (default = null ) — the ApplicationDomain to use for reflection
|
CommandAdapter — a new adapter for the specified target command or null if the specified instance cannot
be handled by this factory
|
register | () | method |
public static function register():void
Registers this adapter, making Light Commands available for all command builder types. Calling this method more than once has no effect.