java.lang.Object
visitorDemoExercises.listFWVisitorExercises.controller.ListDemoApp
Controller for the ListFW demo app
- Author:
- swong
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ListDemoModel
The model in useprivate ListDemoFrame<IList>
The view in use -
Constructor Summary
ConstructorsConstructorDescriptionNo parameter constructor for use with applets.ListDemoApp(int closeAction)
Constructor for the class -
Method Summary
-
Field Details
-
view
The view in use -
model
The model in use
-
-
Constructor Details
-
ListDemoApp
public ListDemoApp()No parameter constructor for use with applets. Sets window closing behavior to WindowConstants.HIDE_ON_CLOSE -
ListDemoApp
public ListDemoApp(int closeAction)Constructor for the class- Parameters:
closeAction
- Window closing behavior
-
-
Method Details
-
start
public void start()Start the application -
main
Launch the application. Sets the window closing behavior to WindowConstants.EXIT_ON_CLOSE- Parameters:
args
- Command line arguments
-