This class is in charge of showing the custumer information received from the server in the texfieds
| private | TextInput | licenseInput | |
| private | TextInput | orderInput | |
| private | TextInput | firstNameInput | |
| private | TextInput | lastNameInput | |
| private | TextInput | modelInput | |
| private | TextInput | statusInput |
CustomerInformation() |
| public | onOrderReceived(item:Object) | ||
| private | init() |
private licenseInput:TextInput
A TextInput instance that has been initialized on the stage with instance name licenseInput
private orderInput:TextInput
A TextInput instance that has been initialized on the stage with instance name orderInput
private firstNameInput:TextInput
A TextInput instance that has been initialized on the stage with instance name firstNameInput
private lastNameInput:TextInput
A TextInput instance that has been initialized on the stage with instance name lastNameInput
private modelInput:TextInput
A TextInput instance that has been initialized on the stage with instance name modelInput
private statusInput:TextInput
A TextInput instance that has been initialized on the stage with instance name statusInput
CustomerInformation()
public onOrderReceived(item:Object):Void
Description: Populates the textFields with the data received
Assumptions: - the textFields are instantiated
- LICENSE, FIRST_NAME, LAST_NAME, MODEL_NAME, STATUS_NAME WORK_ORDER_ID are properties available in the object received from the server
Globals: uses the following globals:
licenseInput, firstNameInput, lastNameInput, modelInput, statusInput, orderInput
Calls: none
Is Called by: This function is called by broadcastOrderReceived() in the application(TrioMotor class)
- Parameters
item (Object)-- Returns
- Void
- See Also
- OrderReceivedListener.onOrderReceived
private init():Void
Description: Registers this object as listener of OrderReceived event in the application
Assumptions: application is already instantiated
Globals: uses application
Calls: addOrderReceivedListener() in the application
Is Called by: setApplication() in its super class AbstractView
- Returns
- Void