com.triomotor.views

AbstractView

extends: MovieClip

This class is an Abstract class that will be inherit by all the views in the Application, and provided one method for set the Application.

See Also
CustomerInformation, DetailView, Information, Parts, Scheduling, TabView

Property Summary

private TrioMotorapplication
private Functioninit

Constructor Summary

AbstractView()

Method Summary

public setApplication(app:TrioMotor)

Property Details

application

private application:TrioMotor

The main Application. It allows us to communicate with the application and other Views (most of the time by calling different Connectors)

init

private init:Function

An abstract method that is called when the application has been set. This method has to be implemented by inheriting Classes

Constructor Details

AbstractView

AbstractView()

Method Details

setApplication

public setApplication(app:TrioMotor):Void

Description: Sets the application and calls the init() method
Globals: It sets the application
Calls: init(): called when we finish setting the application
Is Called by: A parent Component usually in the init() or onLoad() Method.
Assumptions: Parent component will pass the application as a parameter

Parameters
app (TrioMotor) - The Trio Motor Application.
Returns
Void