provided.client.controller
Class ClientController

java.lang.Object
  extended by provided.client.controller.ClientController

public class ClientController
extends java.lang.Object

Controller for the Client MVC system.

Author:
swong

Field Summary
private  ClientModel model
          The model of the MVC
private  ClientGUI view
          The view of the MVC
 
Constructor Summary
ClientController()
          Constructor of the class.
 
Method Summary
static void main(java.lang.String[] args)
          Main() method of the client application.
 void start()
          Starts the view then the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

private ClientGUI view
The view of the MVC


model

private ClientModel model
The model of the MVC

Constructor Detail

ClientController

public ClientController()
Constructor of the class. Instantiates and connects the model and the view.

Method Detail

start

public void start()
Starts the view then the model. The view needs to be started first so that it can display the model status updates as it starts.


main

public static void main(java.lang.String[] args)
Main() method of the client application. Instantiates and then starts the controller.

Parameters:
args - ignored