FlipBookFacade |
INHERATENCE: Canvas |
DEPENDENCE: model.Model, model.Storage, model.swfaddress.SwfAddressHandler, view.View, |
SUMMARY: Get the initial web address. Get instance of static class Storage, do some inits of it along with web address. Get instance of static class View, add it to this. Get instance of static class Model, use it to get app data. |
Key Properties: |
Methods: init() Get Model instance, and call its function to start loading data. Get View instance, naturally it is a Canvas object, add it to this. Add event listener to swfAddress. |
REFERENCE: |
Model |
INHERATENCE: |
DEPENDENCE: model.services.ServerLocalesService, model.storage.Storage, view.View, utils.server.assetloader.LoadExternalAsset, utils.server.phphttpservice.PhpHttpService, |
SUMMARY: Its responsibility includes to load(using LoadExternalAsset) the bitmap data of all application assets. And all DATA, such as project DATA. |
Key Properties: |
Methods: retriveApplicationData() Start the process of loading bitmap data of the application, including logo, background and so on. loadProjectData() Instantiate an instance of ServerLocalesService, and call its getProjectsData() method to load project data and other data. extractBMP(Loader) Create a BMP object with the content of the loader. |
REFERENCE: |