Model, View, Controller Design
MVC (Model/View/Controller) software design architecture was used in Visual Tagging Tool (VTT). The five main software components are described as below and shown in the following diagram:
- Model:
Application objects implemented in Java
- View:
Screen presentation with GUI. Such as MenuBar, popupmenu, dialog, etc..
- MainFrame
- VttMenuBar
- MainPanel
- StatusPanel
- VttPopupMenu
- Dialogs
- Controller:
Defines the way user interface reacts to user input.
- VttMenuBarControl
- VttPopupMenuControl
- KeysControl
- MouseControl
- SelectControl
- DialogControl
- MarkupDialog
- MarkupsDialog
- TagsDialog
- AddTagDialog
- EditTagDialog
- GuiLib
A collections of GUI called by view.
- Operations
A collections of operations called by controller.
- FileOperations
- GuiOperations
- HelpDocOperations
- MarkupOperations
- TextDisplayOperations
- UndoOperations