Home
Categories
Dictionary
Download
Project Details
Changes Log
Tutorials
FAQ
License

GUI application



A GUIApplication are applications which manage the concept of "tabbed documents". They support several concepts which are not available on regular applications, such as:
  • Managing tabs
  • Managing menus through a menu bar
  • A toolbar
  • A message area

guiOverview
There is one abstract GUI implementations for the Swing framework:

Initializing the application GUI


To use the menu factory in the application, you need to call one of the following methods: These methods should be called after the application configuration has been initialized and the plugins have been registered. Menus and toolbar are managed by the menu factory and can be retrieved by the following methods in the application:
menutoolbarOverview

Handling tabs

Main Article: Handling tabs

The GUIApplication has an API allowing to:
  • Add a tab
  • Select a tab
  • Close a tab, all tabs except one, or all tabs
  • Add a close button in tabs
  • Specify that a tab has been modified

Showing dialogs

Main Article: message dialogs

The application has several has several methods to directly show message dialogs. Also the MDIDialogBuilder allows to add any type of dialogs in the framework.

Message area

Main Article: Message area

The message area is managed directly in the application and can be retrieved by:
messageareaOverview
Main Article: Menu factory

The MDIMenuFactory and its abstract implementation AbstractMDIMenuFactory allows to manage the menus and toolbar for the application.

Opening dialogs

Main Article: Dialog helper

The MDIDialogHelper and its default implementation DefaultMDIDialogHelper allows to open dialogs.

See also


Categories: general | gui | swing

Copyright 2006-2023 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 and Apache 2.0 licences