Packagepotomac.ui
Classpublic class PageFactory
InheritancePageFactory Inheritance Object

A PageFactory creates Page instances.



Public Methods
 MethodDefined By
  
PageFactory(injector:Injector, bundleService:IBundleService)
Callers should not construct PageFactory instances.
PageFactory
  
createPage(type:String):Page
Creates a Page instance of the given type.
PageFactory
Constructor Detail
PageFactory()Constructor
public function PageFactory(injector:Injector, bundleService:IBundleService)

Callers should not construct PageFactory instances. PageFactory is available for injection.

Parameters
injector:Injector
 
bundleService:IBundleService
Method Detail
createPage()method
public function createPage(type:String):Page

Creates a Page instance of the given type.

Parameters

type:String — type of page to construct.

Returns
Page — the Page instance.