![]() |
![]() |
|
| |
||
The JBFrame is the client-component container and usually has - but is not limited to - a navigation zone with a navigation tree, a toolbar and a menubar. The basic functionality is to register and un-register JBAdapters. The JBAdapters integrate the functionality of one or more JAVA beans into the a single seamless working application. The adapters take care of events coming from the beans or the JBFrame and they implement the inter-bean workflow requirements. The following diagram shows the collaboration of the component: |
||
|
|
||
| An implementation of a shell-like frame as done in the OOIT.com's reference implementation provides the following visual layout in a JFrame. | ||
|
|
||
| The adapters provide toolbar, menus and navigator node information for the JBFrame. If the user clicks on a menu or toolbar button, the adapter gets the action event and will initiate the appropriate action on the JAVA bean. | ||
The central part in the JBframe design are the interfaces com.ooit.jbframe.JBFrame and the
com.ooit.jbframe.JBAdapter. They reflect the range of functionality and communication given
to the adapter and the frame. |
||
| A first implementation has been done by OOIT.com. It already works very well as a professional application shell. It has all features which common GUI frameworks provide or at least does not prevent their being used from other sources. | ||
| Browse the JAVA Doc. | ||