Framework overview

Graphical overview

framework overview

Classes and Interfaces

Class / Interface Description
org.bs.mdi.Action Actions modify Documents. Usually, an Action contains enough information about itself to be able to undo and redo the Action on a given Document.
org.bs.mdi.ActionConverter An ActionConverter converts an Action to a java.awt.datatransfer.Transferable object and vice versa. This mechanism is required to exchange data using the clipboard.
org.bs.mdi.Application Base class for MDI applications.
org.bs.mdi.ClipboardManager Manages ActionConverters and transfers data to and from the system's clipboard.
org.bs.mdi.Document A Document consists of the document's data (the information contained in the document) and the document's view (the graphical window to display the data). The Document class manages the interaction between its DocumentData and DocumentView components.
org.bs.mdi.DocumentData Represents the information contained in a Document. Furthermore, it remembers the recently applied Actions in order to be able to undo/redo them.
org.bs.mdi.DocumentView An interface for graphical representations of the document's data.
org.bs.mdi.DocumentWindow An interface for MDI subwindows which display the document's view to the user.
org.bs.mdi.FileExporter A FileIOModule which can export data. Exporting means writing data in a file which cannot be opened by the application.
org.bs.mdi.FileFormat Represents a file format. A FileFormat can have one or more filename extensions.
org.bs.mdi.FileIOManager Manages FileIOModules. Delegates I/O requests (load, save, export) to the appropriate File I/O module.
org.bs.mdi.FileIOModule Base interface for I/O modules. Its subinterfaces (FileExporter, FileLoader, FileSaver) provide interface methods for exporting, loading and saving data.
org.bs.mdi.FileLoader A FileIOModule which can load data (open a file) of one or more FileFormats.
org.bs.mdi.FileSaver A FileIOModule which can save data (write a file) in one or more FileFormats.
org.bs.mdi.MainWindow Represents the graphical main window of the application. The MainWindow has to be able to display one or more subwindows containing the documents to be edited.
org.bs.mdi.Preferences Loads and saves user-specific preferences and settings.
org.bs.mdi.Resources The application's resource loader with localization support. Provides localized strings to the Application.
org.bs.mdi.swing.SwingDocumentView Swing implementation of a document view (subclass of JPanel)
org.bs.mdi.swing.SwingDocumentWindow Swing implementation of a document window (subclass of JInternalFrame)
org.bs.mdi.swing.SwingMainWindow Swing implementation of a main window (subclass of JFrame, contains a JDesktopPane)