A B C D E F G H I L M N O P Q R S T U V W

A

ACTION_OCCURRED - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the UndoManager registered an Action.
ACTION_REDONE - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the UndoManager just performed a redo operation.
ACTION_UNDONE - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the UndoManager just performed an undo operation.
APP_INIT - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the application has just been launched.
APP_QUIT - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the application is shutting down.
Action - class org.bs.mdi.Action.
Actions are the means of communication between Data and View objects.
Action(ActionObservable) - Constructor for class org.bs.mdi.Action
Action is an abstract class and cannot be instantiated.
Action(ActionObservable, boolean) - Constructor for class org.bs.mdi.Action
Action is an abstract class and cannot be instantiated.
ActionConverter - interface org.bs.mdi.ActionConverter.
Provides an interface for mechanisms that convert Action to Transferable objects.
ActionObservable - interface org.bs.mdi.ActionObservable.
An interface for objects that can be observed by an ActionObserver.
ActionObserver - interface org.bs.mdi.ActionObserver.
An interface for objects that can observe an ActionObservable.
ActionProcessor - interface org.bs.mdi.ActionProcessor.
An interface for objects that can apply (redo) or undo an Action.
Application - class org.bs.mdi.Application.
The base class for all MDI applications.
Application() - Constructor for class org.bs.mdi.Application
Creates a new Application.
accept(String) - Method in class org.bs.mdi.FileFormat
Returns true if the filename matches this file format.
actionPerformed(ActionObservable, Action) - Method in interface org.bs.mdi.ActionObserver
Called from the ActionObservable when an action has been performed or redone.
actionPerformed(ActionObservable, Action) - Method in class org.bs.mdi.Data
 
actionPerformed(ActionEvent) - Method in class org.bs.mdi.swing.SwingCommandButton
 
actionPerformed(ActionEvent) - Method in class org.bs.mdi.swing.SwingCommandMenu
 
actionPerformed(ActionEvent) - Method in class org.bs.mdi.swing.SwingProgressMonitor
 
actionPerformed(ActionObservable, Action) - Method in class org.bs.mdi.swing.SwingRootView
 
actionPerformed(ActionObservable, Action) - Method in class org.bs.mdi.swing.SwingView
 
actionPerformed(ActionEvent) - Method in class org.jk.printpreview.PreviewDialog
 
actionUndone(ActionObservable, Action) - Method in interface org.bs.mdi.ActionObserver
Called from the ActionObservable when an action has been undone.
actionUndone(ActionObservable, Action) - Method in class org.bs.mdi.Data
 
actionUndone(ActionObservable, Action) - Method in class org.bs.mdi.swing.SwingRootView
 
actionUndone(ActionObservable, Action) - Method in class org.bs.mdi.swing.SwingView
 
add(Action) - Method in class org.bs.mdi.CompositeAction
Add an action to this CompositeAction.
add(Task) - Method in interface org.bs.mdi.ProgressMonitor
Registers the given Task.
add(String) - Method in class org.bs.mdi.RecentFiles
Adds the given filename to the list of remembered filenames.
add(Action, Data) - Method in class org.bs.mdi.UndoManager
Tells the UndoManager that an action has occurred.
add(JInternalFrame) - Method in class org.bs.mdi.swing.ScrollableDesktopPane
 
add(Task) - Method in class org.bs.mdi.swing.SwingProgressMonitor
 
addChild(Data) - Method in class org.bs.mdi.Data
Adds a child element.
addChild(View) - Method in interface org.bs.mdi.View
Adds a child element.
addChild(View) - Method in class org.bs.mdi.swing.SwingRootView
 
addChild(View) - Method in class org.bs.mdi.swing.SwingView
 
addImpl(Component, Object, int) - Method in class org.bs.mdi.swing.SwingStatusBar
 
addObserver(ActionObserver) - Method in interface org.bs.mdi.ActionObservable
Registers this observer so that it will receive notification messages.
addObserver(ActionObserver) - Method in class org.bs.mdi.Data
 
addObserver(ActionObserver) - Method in class org.bs.mdi.swing.SwingRootView
 
addObserver(ActionObserver) - Method in class org.bs.mdi.swing.SwingView
 
addResource(Resources) - Method in class org.bs.mdi.CompositeResources
Adds/Registers the specified resources.
addSpecialWindowCommands(SwingCommand[]) - Method in class org.bs.mdi.swing.SwingMainWindow
 
addTrigger(CommandTrigger) - Method in class org.bs.mdi.Command
Associates the given command trigger with this command.
addView(RootView) - Method in class org.bs.mdi.Document
Associates the specified view with this document.
addWindow(JComponent, DocumentWindow) - Method in interface org.bs.mdi.swing.MDIWindowManager
Adds the specified window to the given desktop area.
addWindow(JComponent, DocumentWindow) - Method in class org.bs.mdi.swing.TabMDIWindowManager
 
addWindow(JComponent, DocumentWindow) - Method in class org.bs.mdi.swing.TraditionalMDIWindowManager
 
application - Static variable in class org.bs.mdi.Application
 
application - Variable in class org.bs.mdi.swing.SwingMainWindow
 
applyAction(Action) - Method in interface org.bs.mdi.ActionProcessor
Applies an action or perform a redo.
applyAction(Action) - Method in class org.bs.mdi.Data
 
applyAction(Action) - Method in class org.bs.mdi.swing.SwingRootView
 
applyAction(Action) - Method in class org.bs.mdi.swing.SwingView
 
applyTo(Data) - Method in class org.bs.mdi.Action
Applies this action to a Data object.
applyTo(View) - Method in class org.bs.mdi.Action
Applies this action to a View object.
applyTo(Data) - Method in class org.bs.mdi.CompositeAction
 
applyTo(View) - Method in class org.bs.mdi.CompositeAction
 

B

BUTTON_ICON - Static variable in class org.bs.mdi.Resources
 

C

COMMAND_ISSUED - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the user has issued a command, for example clicked a menu entry.
CUSTOM_ICON - Static variable in class org.bs.mdi.Resources
 
ClipboardConversionException - exception org.bs.mdi.ClipboardConversionException.
This Exception gets thrown if somethign went wrong during clipboard format conversions.
ClipboardConversionException() - Constructor for class org.bs.mdi.ClipboardConversionException
 
ClipboardManager - class org.bs.mdi.ClipboardManager.
The ClipboardManager provides clipboard access and manages ActionConverter objects.
ClipboardManager() - Constructor for class org.bs.mdi.ClipboardManager
Creates a new ClipboardManager, which uses the system's default clipboard for data exchange.
Command - class org.bs.mdi.Command.
Base class for all commands which can be triggered by users
Command() - Constructor for class org.bs.mdi.Command
Creates a new command.
CommandTrigger - interface org.bs.mdi.CommandTrigger.
Interface for GUI elements which trigger commands.
CompositeAction - class org.bs.mdi.CompositeAction.
A CompositeAction object consists of one or more single Action objects, and can be handled like a single Action object.
CompositeAction(ActionObservable) - Constructor for class org.bs.mdi.CompositeAction
Creates a new CompositeAction.
CompositeAction(ActionObservable, String) - Constructor for class org.bs.mdi.CompositeAction
Creates a new CompositeAction and overrides its name.
CompositeResources - class org.bs.mdi.CompositeResources.
Manages multiple Resources.
CompositeResources() - Constructor for class org.bs.mdi.CompositeResources
 
canExport() - Method in class org.bs.mdi.FileIOManager
Determines if the file manager is able to export a file.
canHandle(Action) - Method in interface org.bs.mdi.ActionConverter
Indicates that this ActionConverter can convert the given Action.
canHandle(Transferable) - Method in interface org.bs.mdi.ActionConverter
Indicates that this ActionConverter can convert the given Transferable.
canHandle(String) - Method in interface org.bs.mdi.FileIOModule
Returns true if the given filename can be used for I/O by this module.
canLoad() - Method in class org.bs.mdi.FileIOManager
Determines if the file manager is able to load a file.
canSave() - Method in class org.bs.mdi.FileIOManager
Determines if the file manager is able to save a file.
cascadeFrames() - Method in class org.bs.mdi.swing.ScrollableDesktopPane
Cascade all internal frames
clipboardManager - Static variable in class org.bs.mdi.Application
 
close() - Method in class org.bs.mdi.Application
Exits the application by closing its main window.
close() - Method in class org.bs.mdi.Document
Tries to close this document.
close() - Method in interface org.bs.mdi.DocumentWindow
Try to close the window.
close() - Method in interface org.bs.mdi.Window
Tries to close the window.
close() - Method in class org.bs.mdi.swing.SwingMainWindow
 
close() - Method in class org.bs.mdi.swing.TabDocumentWindow
 
close() - Method in class org.bs.mdi.swing.TraditionalDocumentWindow
 
closeDocument() - Method in class org.bs.mdi.Application
Tries to close the current document and all of its views and windows.
closeWindow() - Method in class org.bs.mdi.Application
Tries to close the current window.
closeWindow(TabDocumentWindow) - Method in class org.bs.mdi.swing.TabMDIWindowManager
 
clustersWith(Action) - Method in class org.bs.mdi.Action
Returns true if this action should be clustered together with the action given as the parameter.
clustersWith(Action) - Method in class org.bs.mdi.CompositeAction
 
coalesceAction(Action) - Method in class org.bs.mdi.Data
Glues similar consecutive Actions together.
commandExecuted(CommandTrigger) - Method in interface org.bs.mdi.CommandTrigger
Informs this trigger that the associated command has been executed.
commandExecuted(CommandTrigger) - Method in class org.bs.mdi.swing.SwingCommandButton
 
commandExecuted(CommandTrigger) - Method in class org.bs.mdi.swing.SwingCommandTrigger
 
commandUpdated() - Method in interface org.bs.mdi.CommandTrigger
Informs this trigger that the associated command has changed.
commandUpdated() - Method in class org.bs.mdi.swing.SwingCommandButton
 
commandUpdated() - Method in class org.bs.mdi.swing.SwingCommandMenu
 
commandUpdated() - Method in class org.bs.mdi.swing.SwingCommandTrigger
 
commands - Variable in class org.bs.mdi.swing.SwingMainWindow
 
copy() - Method in class org.bs.mdi.Application
Perform a copy operation on the current document.
copy() - Method in interface org.bs.mdi.View
Perform a "copy to clipboard" operation.
copy() - Method in class org.bs.mdi.swing.SwingRootView
 
copy() - Method in class org.bs.mdi.swing.SwingView
 
count() - Method in class org.bs.mdi.RecentFiles
Returns the number of items which are currently saved in the list of recently opened filenames.
countAllModules() - Method in class org.bs.mdi.FileIOManager
Counts all registered modules.
countAppliedActions() - Method in class org.bs.mdi.UndoManager
Gets the number of elements in the queue of applied actions.
countChildren() - Method in class org.bs.mdi.Data
Counts all child elements.
countChildren() - Method in interface org.bs.mdi.View
Counts all child elements.
countChildren() - Method in class org.bs.mdi.swing.SwingRootView
 
countChildren() - Method in class org.bs.mdi.swing.SwingView
 
countDocuments() - Static method in class org.bs.mdi.Application
Returns the number of currently opened documents.
countExporters() - Method in class org.bs.mdi.FileIOManager
Counts all registered FileExporter modules.
countLoaders() - Method in class org.bs.mdi.FileIOManager
Counts all registered FileLoader modules.
countObservers() - Method in interface org.bs.mdi.ActionObservable
Counts all registered observers.
countObservers() - Method in class org.bs.mdi.Data
 
countObservers() - Method in class org.bs.mdi.swing.SwingRootView
 
countObservers() - Method in class org.bs.mdi.swing.SwingView
 
countProcessors() - Method in class org.bs.mdi.MessageDispatcher
Counts the registered MessageProcessors.
countResources() - Method in class org.bs.mdi.CompositeResources
Counts the registered resources.
countSavers() - Method in class org.bs.mdi.FileIOManager
Counts all registered FileSaver modules.
countTriggers() - Method in class org.bs.mdi.Command
Counts the number of associated command triggers.
countUndoneActions() - Method in class org.bs.mdi.UndoManager
Gets the number of elements in the queue of undone actions.
countViews() - Method in class org.bs.mdi.Document
Returns the number of views associated with this document.
createActionConverters() - Method in class org.bs.mdi.Application
Creates and returns all available Action converters (see ActionConverter).
createButton(SwingCommand) - Static method in class org.bs.mdi.swing.SwingCommandButton
Creates a new standard button and associates it with the given command.
createCheckBox(SwingCommand) - Static method in class org.bs.mdi.swing.SwingCommandButton
Creates a new checkbox and associates it with the given command.
createCommands() - Method in class org.bs.mdi.swing.SwingMainWindow
Creates a new set of commands to be used by the application.
createDesktopComponent() - Method in interface org.bs.mdi.swing.MDIWindowManager
Creates the desktop area.
createDesktopComponent() - Method in class org.bs.mdi.swing.TabMDIWindowManager
 
createDesktopComponent() - Method in class org.bs.mdi.swing.TraditionalMDIWindowManager
 
createDocumentWindow() - Method in interface org.bs.mdi.MainWindow
Creates a new document window.
createDocumentWindow() - Method in interface org.bs.mdi.swing.MDIWindowManager
Creates a new document subwindow.
createDocumentWindow() - Method in class org.bs.mdi.swing.SwingMainWindow
 
createDocumentWindow() - Method in class org.bs.mdi.swing.TabMDIWindowManager
 
createDocumentWindow() - Method in class org.bs.mdi.swing.TraditionalMDIWindowManager
 
createEditMenu() - Method in class org.bs.mdi.swing.SwingMainWindow
Creates the edit menu.
createFileIOModules() - Method in class org.bs.mdi.Application
Creates and returns all available File I/O extension modules (see FileIOModule)..
createFileMenu() - Method in class org.bs.mdi.swing.SwingMainWindow
Creates the file menu.
createMainWindow() - Method in class org.bs.mdi.Application
Creates and return an application-specific main window (see MainWindow).
createMenu(SwingCommand) - Static method in class org.bs.mdi.swing.SwingCommandMenu
Creates a new menu and associates it with the given command.
createMenuItem(SwingCommand) - Static method in class org.bs.mdi.swing.SwingCommandButton
Creates a new menu item and associates it with the given command.
createNew() - Static method in class org.bs.mdi.Document
Creates a new document.
createRadioButton(SwingCommand) - Static method in class org.bs.mdi.swing.SwingCommandButton
Creates a new radio button and associates it with the given command.
createResources() - Method in class org.bs.mdi.Application
Creates and returns the applications resources.
createRootData() - Method in class org.bs.mdi.Application
Creates and returns a new RootData instance.
createRootView() - Method in class org.bs.mdi.Application
Creates and returns a new RootView instance.
createToolBar() - Method in class org.bs.mdi.swing.SwingMainWindow
Creates the toolbar.
createToolButton(SwingCommand) - Static method in class org.bs.mdi.swing.SwingCommandButton
Creates a new toolbar button and associates it with the given command.
createToolToggleButton(SwingCommand) - Static method in class org.bs.mdi.swing.SwingCommandButton
Creates a new toolbar togglebutton and associates it with the given command.
currentWindow - Static variable in class org.bs.mdi.Application
 
currentWindowChanged(DocumentWindow) - Method in class org.bs.mdi.Application
Called when another document window is activated (receives the focus).
cut() - Method in class org.bs.mdi.Application
Perform a cut operation on the current document.
cut() - Method in interface org.bs.mdi.View
Perform a "cut to clipboard" operation.
cut() - Method in class org.bs.mdi.swing.SwingRootView
 
cut() - Method in class org.bs.mdi.swing.SwingView
 

D

DEFAULT_NUM_ACTIONS - Static variable in class org.bs.mdi.UndoManager
 
DOCUMENT_DIRTY - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that a documents dirty status has been changed.
DOCUMENT_SAVED - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that a document has been saved.
DOCUMENT_SELECTED - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that another document has been selected.
Data - class org.bs.mdi.Data.
Represents a piece of information in a document.
Data() - Constructor for class org.bs.mdi.Data
Creates a new Data object which has no parent element and no associated Document object.
Data(Document) - Constructor for class org.bs.mdi.Data
Creates a new Data object which has no parent element.
Data(Document, Data) - Constructor for class org.bs.mdi.Data
Creates a new Data object.
DataPageable - class org.bs.mdi.DataPageable.
A Pageable implementation receives its printing data from a RootData object.
DataPageable() - Constructor for class org.bs.mdi.DataPageable
Creates a new DataPageable with no RootData associated with it.
DataPageable.DataPrintable - class org.bs.mdi.DataPageable.DataPrintable.
 
DataPageable.DataPrintable(RootData, PageFormat, int) - Constructor for class org.bs.mdi.DataPageable.DataPrintable
 
DataPageable.PrintException - exception org.bs.mdi.DataPageable.PrintException.
 
DataPageable.PrintException(String) - Constructor for class org.bs.mdi.DataPageable.PrintException
 
DefaultResources - class org.bs.mdi.DefaultResources.
Provides a default set of translation and icon resources.
DefaultResources() - Constructor for class org.bs.mdi.DefaultResources
 
Document - class org.bs.mdi.Document.
The Document class manages data and views.
Document(Application) - Constructor for class org.bs.mdi.Document
 
DocumentWindow - interface org.bs.mdi.DocumentWindow.
An interface for MDI subwindows which display the document's view to the user.
data - Variable in class org.bs.mdi.DataPageable
 
delete() - Method in class org.bs.mdi.Application
Perform a delete operation on the current document.
delete() - Method in interface org.bs.mdi.View
Perform a delete operation.
delete() - Method in class org.bs.mdi.swing.SwingRootView
 
delete() - Method in class org.bs.mdi.swing.SwingView
 
desktop - Variable in class org.bs.mdi.swing.SwingMainWindow
 
desktopColor - Variable in class org.bs.mdi.swing.TraditionalDocumentWindow
 
dispatch(Object, int, Object) - Method in class org.bs.mdi.MessageDispatcher
Dispatches a message.
doExecute() - Method in class org.bs.mdi.Command
Executes this command.
doExecute() - Method in class org.bs.mdi.swing.SwingCommand
 
doExecute() - Method in class org.bs.mdi.swing.SwingCommandAdapter
 
doExecute() - Method in class org.bs.mdi.swing.SwingWindowCommand
 
docPrinter - Variable in class org.bs.mdi.swing.SwingMainWindow
 
documents - Static variable in class org.bs.mdi.Application
 

E

ERROR - Static variable in interface org.bs.mdi.MainWindow
 
ERR_NOACCESS - Static variable in class org.bs.mdi.FileIOException
 
ERR_NOSUCHFILE - Static variable in class org.bs.mdi.FileIOException
 
ERR_UNKNOWN - Static variable in class org.bs.mdi.FileIOException
 
ERR_UNSUPPORTEDFORMAT - Static variable in class org.bs.mdi.FileIOException
 
EXPORT - Static variable in class org.bs.mdi.FileIOManager
 
editMenu - Variable in class org.bs.mdi.swing.SwingMainWindow
 
execute(CommandTrigger) - Method in class org.bs.mdi.Command
Executes this command and notifies all CommandTriggerGroups.
execute() - Method in interface org.bs.mdi.CommandTrigger
Shortcut for getCommand().execute().
execute() - Method in class org.bs.mdi.swing.SwingCommandTrigger
 
exit() - Method in class org.bs.mdi.Application
Closes the application the brute-force way.
expire() - Method in class org.bs.mdi.RecentFiles
 
export(RootData) - Method in interface org.bs.mdi.FileExporter
Exports the data to a non-loadable format.
export(RootData, FileExporter) - Method in class org.bs.mdi.FileIOManager
Exports the data using the specified exporter module.
exportDocument(FileExporter) - Method in class org.bs.mdi.Application
Tries to export the current document.

F

FileExporter - interface org.bs.mdi.FileExporter.
A file I/O module which can export documents.
FileFormat - class org.bs.mdi.FileFormat.
Represents a file format.
FileFormat(String[], String) - Constructor for class org.bs.mdi.FileFormat
Creates a new file format instance with the given extensions and description.
FileIOException - exception org.bs.mdi.FileIOException.
FileIOExceptions can happen during loading, saving or exporting files.
FileIOException(int, String) - Constructor for class org.bs.mdi.FileIOException
Creates a new FileException.
FileIOManager - class org.bs.mdi.FileIOManager.
Manages File I/O modules
FileIOManager() - Constructor for class org.bs.mdi.FileIOManager
Creates a new file I/O manager.
FileIOModule - interface org.bs.mdi.FileIOModule.
An interface for modules performing file I/O.
FileLoader - interface org.bs.mdi.FileLoader.
A file I/O module which can load data from disk.
FileSaver - interface org.bs.mdi.FileSaver.
A file I/O module which can save data to disk.
fileExists(String) - Method in class org.bs.mdi.FileIOManager
Returns true if the given file exists.
fileExportMenu - Variable in class org.bs.mdi.swing.SwingMainWindow
 
fileIOManager - Static variable in class org.bs.mdi.Application
 
fileMenu - Variable in class org.bs.mdi.swing.SwingMainWindow
 
finalize() - Method in class org.bs.mdi.swing.SwingProgressMonitor
 
findEntry(String) - Method in class org.bs.mdi.RecentFiles
 
flushLogs() - Method in class org.bs.mdi.UndoManager
Flushes undo and redo logs.
flushRedoLog() - Method in class org.bs.mdi.UndoManager
Clears the redo log.
flushUndoLog() - Method in class org.bs.mdi.UndoManager
Clears the undo log.
format - Variable in class org.bs.mdi.DataPageable
 

G

getAccelerator() - Method in class org.bs.mdi.swing.SwingCommand
Gets the "accelerator" for this action.
getAccelerator() - Method in class org.bs.mdi.swing.SwingCommandAdapter
 
getBaseFilename() - Method in class org.bs.mdi.Document
Returns the basename of the document's filename.
getBoolean(String, boolean) - Method in class org.bs.mdi.Preferences
Returns the boolean value specified by the given key from the preferences file.
getButton() - Method in class org.bs.mdi.swing.SwingCommandButton
Gets the button "wrapped" behind this object.
getChild(int) - Method in class org.bs.mdi.Data
Gets the child element at the specified index.
getChild(int) - Method in interface org.bs.mdi.View
Gets the child element at the specified index.
getChild(int) - Method in class org.bs.mdi.swing.SwingRootView
 
getChild(int) - Method in class org.bs.mdi.swing.SwingView
 
getClipboardManager() - Static method in class org.bs.mdi.Application
Returns the ClipboardManager which provides clipboard access and data transfer/conversion functions.
getCommand() - Method in interface org.bs.mdi.CommandTrigger
Gets the command which is associated with this command trigger.
getCommand() - Method in class org.bs.mdi.swing.SwingCommandTrigger
 
getCommands() - Method in class org.bs.mdi.swing.SwingMainWindow
Gets the current set of commands.
getContent() - Method in class org.bs.mdi.ClipboardManager
Gets the content of the clipboard.
getCurrentData() - Static method in class org.bs.mdi.Application
Returns the data which belongs to the current window.
getCurrentDocument() - Static method in class org.bs.mdi.Application
Returns the document which belongs to the current window.
getCurrentView() - Static method in class org.bs.mdi.Application
Returns the view which belongs to the current window.
getCurrentWindow() - Static method in class org.bs.mdi.Application
Returns the currently active window.
getData() - Method in class org.bs.mdi.DataPageable
Returns the RootData which is associated with this DataPageable.
getData() - Method in class org.bs.mdi.Document
Returns the data associated with this document.
getData() - Method in interface org.bs.mdi.View
Returns the Data object associated with this view.
getData() - Method in class org.bs.mdi.swing.SwingRootView
 
getData() - Method in class org.bs.mdi.swing.SwingView
 
getDescription() - Method in class org.bs.mdi.Command
Gets the description of this command, e.g.
getDescription() - Method in class org.bs.mdi.FileFormat
Returns the description of this file format.
getDescription() - Method in interface org.bs.mdi.FileIOModule
Returns a textual description of this file I/O module.
getDescription() - Method in class org.bs.mdi.swing.SwingCommand
 
getDesktop() - Method in class org.bs.mdi.swing.SwingMainWindow
Returns the desktop component.
getDocument(int) - Static method in class org.bs.mdi.Application
Gets the document at the specified index.
getDocument() - Method in class org.bs.mdi.Data
Returns the document associated with this Data object.
getDocument() - Method in interface org.bs.mdi.DocumentWindow
Returns the document which this view is associated with.
getDocument() - Method in interface org.bs.mdi.View
Returns the document which this view is assigned to.
getDocument() - Method in class org.bs.mdi.swing.SwingRootView
 
getDocument() - Method in class org.bs.mdi.swing.SwingView
 
getDocument() - Method in class org.bs.mdi.swing.TabDocumentWindow
 
getDocument() - Method in class org.bs.mdi.swing.TraditionalDocumentWindow
 
getDocumentIterator() - Static method in class org.bs.mdi.Application
Gets an iterator for all currently opened documents.
getDocumentWindows() - Method in interface org.bs.mdi.MainWindow
Gets a list of all currently opened document windows.
getDocumentWindows() - Method in class org.bs.mdi.swing.SwingMainWindow
 
getDocuments() - Static method in class org.bs.mdi.Application
Returns an array of currently opened documents.
getDouble(String, double) - Method in class org.bs.mdi.Preferences
Returns the double value specified by the given key from the preferences file.
getEditCopyCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getEditCutCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getEditDeleteCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getEditMenu() - Method in class org.bs.mdi.swing.SwingMainWindow
Returns the edit menu.
getEditPasteCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getEditRedoCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getEditUndoCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getExpiryTime() - Method in class org.bs.mdi.RecentFiles
Returns the expiry time of all entries, in milliseconds.
getExtensions() - Method in class org.bs.mdi.FileFormat
Returns the extensions which this file format is associated with.
getFileCloseCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFileExporters() - Method in class org.bs.mdi.FileIOManager
Returns a list of all registered file exporter modules.
getFileIOManager() - Static method in class org.bs.mdi.Application
Returns the FileIOManager which manages modules for performing file I/O (loading, saving, exporting).
getFileLoaders() - Method in class org.bs.mdi.FileIOManager
Returns a list of all registered file loader modules.
getFileMenu() - Method in class org.bs.mdi.swing.SwingMainWindow
Returns the file menu.
getFileNewCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFileOpenCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFilePrintCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFilePrintPreviewCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFilePrintSetupCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFileQuitCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFileSaveAsCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFileSaveCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getFileSavers() - Method in class org.bs.mdi.FileIOManager
Returns a list of all registered file saver modules.
getFilename() - Method in class org.bs.mdi.Document
Returns the document's filename.
getFilename() - Method in class org.bs.mdi.FileIOException
Returns the filename which this exception concerns.
getFirstAction() - Method in class org.bs.mdi.CompositeAction
Returns the first action of this CompositeAction.
getIOModule(FileFormat, int) - Method in class org.bs.mdi.FileIOManager
Looks up a file I/O module for the specified format.
getIcon(String, int) - Method in class org.bs.mdi.CompositeResources
 
getIcon(String, int) - Method in class org.bs.mdi.DefaultResources
 
getIcon(String, int) - Method in class org.bs.mdi.Resources
Returns an icon for the specified key and in the given size
getIcon(int) - Method in class org.bs.mdi.swing.SwingCommand
Gets an icon representing this command.
getIcon(int) - Method in class org.bs.mdi.swing.SwingCommandAdapter
 
getIcon(int) - Method in class org.bs.mdi.swing.SwingWindowCommand
 
getInstance() - Static method in class org.bs.mdi.Application
Gets the current instance of the Application class.
getInt(String, int) - Method in class org.bs.mdi.Preferences
Returns the int value specified by the given key from the preferences file.
getLastAction() - Method in class org.bs.mdi.CompositeAction
Returns the last action of this CompositeAction
getLastAction() - Method in class org.bs.mdi.UndoManager
Returns the last action which has been applied.
getLastUndoneAction() - Method in class org.bs.mdi.UndoManager
Returns the last action which has been undone.
getLimit() - Method in class org.bs.mdi.UndoManager
Gets the current action number limit, i.e. the maximum number of action which this UndoManager will remember.
getList() - Method in class org.bs.mdi.RecentFiles
Returns the list of recently opened filenames.
getLocale() - Method in class org.bs.mdi.Resources
Returns the currently used locale.
getLocalizedDescription() - Method in class org.bs.mdi.Command
Gets the localized description of this command.
getLocalizedMessage() - Method in class org.bs.mdi.FileIOException
Returns a localized error message.
getLocalizedName() - Method in class org.bs.mdi.Command
Gets the localized name of this command.
getLong(String, long) - Method in class org.bs.mdi.Preferences
Returns the long value specified by the given key from the preferences file.
getMainWindow() - Static method in class org.bs.mdi.Application
Returns the application's main window.
getMaxEntries() - Method in class org.bs.mdi.RecentFiles
Returns the maximum number of filenames returned by RecentFiles.getList().
getMaximumProgress() - Method in interface org.bs.mdi.Task
Gets the maximum progress of this task, i.e. the progress value when this task has just terminated.
getMenu() - Method in class org.bs.mdi.swing.SwingCommandMenu
Gets the menu "wrapped" behind this object.
getMessageDispatcher() - Static method in class org.bs.mdi.Application
Gets the MessageDispatcher object which is responsible for communication between various parts of the framework.
getMessageIcon(int) - Method in class org.bs.mdi.swing.SwingMainWindow
 
getMinimumProgress() - Method in interface org.bs.mdi.Task
Gets the minimum progress of this task, i.e. the progress value when this task hasn't done anything yet.
getMnemonic(String) - Method in class org.bs.mdi.Resources
Returns the Mnemonic for the given key.
getName() - Method in class org.bs.mdi.Action
Returns the name of the action type.
getName() - Method in class org.bs.mdi.Application
Get the name of the application.
getName() - Method in class org.bs.mdi.Command
Gets the name of this command, e.g.
getName() - Method in class org.bs.mdi.CompositeAction
 
getName() - Method in interface org.bs.mdi.Task
Gets the name of this task which may be displayed to the user.
getName() - Method in class org.bs.mdi.swing.SwingCommand
 
getNumPages(PageFormat) - Method in interface org.bs.mdi.Printer
Returns the number of pages which would be printed using the specified page format.
getNumberOfPages() - Method in class org.bs.mdi.DataPageable
 
getPageFormat() - Method in class org.bs.mdi.DataPageable
Returns the page format.
getPageFormat(int) - Method in class org.bs.mdi.DataPageable
 
getParentData() - Method in class org.bs.mdi.Data
Gets the parent Data object, or null if there is no parent object (i.e. this is probably a RootData object).
getParentView() - Method in interface org.bs.mdi.View
Gets the parent View object, or null if there is no parent object (i.e. this is probably a RootView object).
getParentView() - Method in class org.bs.mdi.swing.SwingRootView
 
getParentView() - Method in class org.bs.mdi.swing.SwingView
 
getPoint(String) - Method in class org.bs.mdi.Preferences
Returns the point specified by the given key from the preferences file.
getPreferences() - Static method in class org.bs.mdi.Application
Gets the application's preferences.
getPreferredDimension() - Method in class org.bs.mdi.swing.TraditionalDocumentWindow
Returns the preferred dimensions of this window.
getPrintable(int) - Method in class org.bs.mdi.DataPageable
 
getPrinter() - Method in class org.bs.mdi.Document
Convenience method for getting the RootData's printer.
getPrinter() - Method in class org.bs.mdi.RootData
Gets the Printer interface for this document.
getProgress() - Method in interface org.bs.mdi.Task
Gets the current progress value of this task.
getProgressBar() - Method in class org.bs.mdi.swing.SwingStatusBar
Returns the status bar.
getProgressMonitor() - Method in interface org.bs.mdi.MainWindow
Gets the default progress monitor for this main window.
getProgressMonitor() - Method in class org.bs.mdi.swing.SwingMainWindow
 
getReason() - Method in class org.bs.mdi.FileIOException
Returns the reason why this exception was thrown.
getRecentFiles() - Static method in class org.bs.mdi.Application
Gets the RecentFiles object which automatically maintains a list of recently opened filenames.
getRectangle(String) - Method in class org.bs.mdi.Preferences
Returns the rectangle specified by the given key from the preferences file.
getResources() - Static method in class org.bs.mdi.Application
Returns the Resources object which handles internationalization and icon loading.
getShowEditMenuCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getShowFileExportMenuCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getShowFileMenuCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getShowFileRecentMenuCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getShowWindowMenuCommand() - Method in class org.bs.mdi.swing.SwingDefaultCommands
 
getSource() - Method in class org.bs.mdi.Action
Returns the source of this action.
getSpecialCommands() - Method in interface org.bs.mdi.swing.MDIWindowManager
Gets a list of special commands provided by this window manager.
getSpecialCommands() - Method in class org.bs.mdi.swing.TabMDIWindowManager
 
getSpecialCommands() - Method in class org.bs.mdi.swing.TraditionalMDIWindowManager
 
getStatusBar() - Method in class org.bs.mdi.swing.SwingMainWindow
Gets the status bar.
getStatusLabel() - Method in class org.bs.mdi.swing.SwingStatusBar
Gets the status label.
getString(String) - Method in class org.bs.mdi.CompositeResources
 
getString(String) - Method in class org.bs.mdi.DefaultResources
 
getString(String) - Method in class org.bs.mdi.Preferences
Returns the string specified by the given key from the preferences file.
getString(String) - Method in class org.bs.mdi.Resources
Returns a localized string for the given key.
getSupportedFormats(int) - Method in class org.bs.mdi.FileIOManager
Returns a list of all supported formats for loading, saving or exporting data.
getSupportedFormats() - Method in interface org.bs.mdi.FileIOModule
Returns a list of file formats which are supported by this module.
getTitle() - Method in interface org.bs.mdi.Window
Returns the title of the window.
getTitle() - Method in class org.bs.mdi.swing.TabDocumentWindow
 
getToolBar() - Method in class org.bs.mdi.swing.SwingMainWindow
Returns the toolbar.
getTransparency() - Static method in class org.bs.mdi.swing.TraditionalDocumentWindow
Gets the alpha value used to draw transparent windows.
getTriggers() - Method in class org.bs.mdi.Command
Gets a list of all triggers associated with this command.
getUndoManager() - Method in class org.bs.mdi.Document
Gets the UndoManager of this Document.
getView(int) - Method in class org.bs.mdi.Document
Gets the specified view.
getView() - Method in interface org.bs.mdi.DocumentWindow
Returns the window which this view is assigned to.
getView() - Method in class org.bs.mdi.swing.TabDocumentWindow
 
getView() - Method in class org.bs.mdi.swing.TraditionalDocumentWindow
 
getViewIterator() - Method in class org.bs.mdi.Document
Gets an iterator for all views associated with this document.
getViews() - Method in class org.bs.mdi.Document
Gets an array containing all root views.
getWindow() - Method in interface org.bs.mdi.RootView
Returns the window which is displaying this view.
getWindow() - Method in class org.bs.mdi.swing.SwingRootView
 
getWindowCommand() - Method in interface org.bs.mdi.swing.SwingDocumentWindow
Gets the command which can be used to activate this window.
getWindowCommand() - Method in class org.bs.mdi.swing.TabDocumentWindow
Gets the command which can be used to activate this window.
getWindowCommand() - Method in class org.bs.mdi.swing.TraditionalDocumentWindow
Gets the command which can be used to activate this window.
getWindowManager() - Method in class org.bs.mdi.swing.SwingMainWindow
Gets the current document window manager.
getWindowMenu() - Method in class org.bs.mdi.swing.SwingMainWindow
Returns the window menu.
getWindows() - Method in interface org.bs.mdi.swing.MDIWindowManager
Gets a list of all document subwindows currently managed by this windowmanager.
getWindows() - Method in class org.bs.mdi.swing.TabMDIWindowManager
 
getWindows() - Method in class org.bs.mdi.swing.TraditionalMDIWindowManager
 
getWrappedComponent() - Method in class org.bs.mdi.swing.SwingView
Gets the component which is wrapped by this view.

H

hide() - Method in interface org.bs.mdi.Window
Makes this window invisible.

I

INFO - Static variable in interface org.bs.mdi.MainWindow
 
IO_EXPORTER_REGISTERED - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the FileIOManager has registered a new FileExporter.
IO_LOADER_REGISTERED - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the FileIOManager has registered a new FileLoader.
IO_SAVER_REGISTERED - Static variable in class org.bs.mdi.MessageDispatcher
Indicates that the FileIOManager has registered a new FileSaver.
i18n(String) - Method in class org.bs.mdi.Resources
Returns a localized string for the given key, stripping ampersand characters which are meant for marking mnemonics.
isActive() - Method in interface org.bs.mdi.Task
Tells if the task is currently running (active) or not.
isAvailable() - Method in class org.bs.mdi.Command
Indicates whether this command is available or not.
isClipboardEmpty() - Method in class org.bs.mdi.ClipboardManager
Returns true if the clipboard is empty.
isCopyPossible() - Method in class org.bs.mdi.Application
Returns true if information can be copied to the clipboard from the current document window.
isCopyPossible() - Method in interface org.bs.mdi.View
Returns true if content can be copied to the clipboard.
isCopyPossible() - Method in class org.bs.mdi.swing.SwingRootView
 
isCopyPossible() - Method in class org.bs.mdi.swing.SwingView
 
isCutPossible() - Method in class org.bs.mdi.Application
Returns true if information can be cutted to the clipboard from the current document window.
isCutPossible() - Method in interface org.bs.mdi.View
Returns true if content can be cutted to the clipboard.
isCutPossible() - Method in class org.bs.mdi.swing.SwingRootView
 
isCutPossible() - Method in class org.bs.mdi.swing.SwingView
 
isDeletePossible() - Method in class org.bs.mdi.Application
Returns true if information can be deleted from the current document window.
isDeletePossible() - Method in interface org.bs.mdi.View
Returns true if content can be deleted.
isDeletePossible() - Method in class org.bs.mdi.swing.SwingRootView
 
isDeletePossible() - Method in class org.bs.mdi.swing.SwingView
 
isDirty() - Method in class org.bs.mdi.Document
Returns if this document is "dirty", i.e. contains unsaved data.
isFileExistent() - Method in class org.bs.mdi.Document
Returns true if the document's filename already exists.
isFocusTraversable() - Method in class org.bs.mdi.swing.TraditionalDocumentWindow
 
isObserver(ActionObserver) - Method in interface org.bs.mdi.ActionObservable
Determines if the given observer is currently observing this object.
isObserver(ActionObserver) - Method in class org.bs.mdi.Data
 
isObserver(ActionObserver) - Method in class org.bs.mdi.swing.SwingRootView
 
isObserver(ActionObserver) - Method in class org.bs.mdi.swing.SwingView
 
isOpened() - Method in class org.bs.mdi.Document
Tells if this document is still opened.
isPastePossible() - Method in class org.bs.mdi.Application
Returns true if information can be pasted from the clipboard to the current document window.
isPastePossible() - Method in interface org.bs.mdi.View
Returns true if content can be pasted from the clipboard.
isPastePossible() - Method in class org.bs.mdi.swing.SwingRootView
 
isPastePossible() - Method in class org.bs.mdi.swing.SwingView
 
isReady() - Method in class org.bs.mdi.ClipboardManager
Returns true if this ClipboardManager is "ready".
isReady() - Method in class org.bs.mdi.FileIOManager
Returns true if this file I/O manager is "ready".
isRedoPossible() - Method in class org.bs.mdi.Application
Returns true if the last undo operation of the current document can be redone.
isRedoPossible() - Method in class org.bs.mdi.Document
Convenience function for calling getUndoManager().isRedoPossible();
isRedoPossible() - Method in class org.bs.mdi.UndoManager
Returns true if the last undone action can be redone.
isRetarded() - Method in class org.bs.mdi.Action
Returns true if this is a so-called "retarded" action.
isRunning() - Static method in class org.bs.mdi.Application
Returns the running status of this application.
isUndoPossible() - Method in class org.bs.mdi.Application
Returns true if the last modification of the current document can be undone.
isUndoPossible() - Method in class org.bs.mdi.Document
Convenience function for calling getUndoManager().isUndoPossible();
isUndoPossible() - Method in class org.bs.mdi.UndoManager
Returns true if the last action can be undone.
isUndoable() - Method in class org.bs.mdi.Action
Returns true if the action can be made undone.
isUndoable() - Method in class org.bs.mdi.CompositeAction
 

L

LAST_RESERVED - Static variable in class org.bs.mdi.MessageDispatcher
This is the last message ID reserved by the MDI framework.
load(String, FileLoader) - Method in class org.bs.mdi.FileIOManager
Tries to load data from disk using the specified loader module.
load(String) - Method in class org.bs.mdi.FileIOManager
Tries to load data from disk.
load(String) - Method in interface org.bs.mdi.FileLoader
Loads the data from disk.
load() - Method in class org.bs.mdi.Preferences
Loads the preferences from disk.
load() - Method in class org.bs.mdi.RecentFiles
 
loadResources() - Method in class org.bs.mdi.CompositeResources
 
loadResources() - Method in class org.bs.mdi.DefaultResources
 
loadResources() - Method in class org.bs.mdi.Resources
Re-loads the resources from storage.
lostOwnership(Clipboard, Transferable) - Method in class org.bs.mdi.ClipboardManager
 

M

MDIWindowManager - interface org.bs.mdi.swing.MDIWindowManager.
An interface for window managers.
MENU_ICON - Static variable in class org.bs.mdi.Resources
 
MESSAGEBOX_ICON - Static variable in class org.bs.mdi.Resources
 
MainWindow - interface org.bs.mdi.MainWindow.
An interface for main window implementations.
MessageDispatcher - class org.bs.mdi.MessageDispatcher.
The MessageDispatcher manages communication between various parts of the framework.
MessageDispatcher() - Constructor for class org.bs.mdi.MessageDispatcher
Creates a new message dispatcher.
MessageProcessor - interface org.bs.mdi.MessageProcessor.
An interface for objects which can receive simple messages.
mainWindow - Static variable in class org.bs.mdi.Application
 
menuBar - Variable in class org.bs.mdi.swing.SwingMainWindow
 
messageDispatcher - Static variable in class org.bs.mdi.Application
 

N

newDocument() - Method in class org.bs.mdi.Application
Creates a new document and makes its view (window) visible.
newline - Static variable in class org.bs.mdi.Preferences
 
notifyObservers(Action, boolean) - Method in interface org.bs.mdi.ActionObservable
Notifies the observers about an action which has been recently performed.
notifyObservers(Action, boolean) - Method in class org.bs.mdi.Data
 
notifyObservers(Action, boolean) - Method in class org.bs.mdi.swing.SwingRootView
 
notifyObservers(Action, boolean) - Method in class org.bs.mdi.swing.SwingView
 
numAddedWindows - Static variable in class org.bs.mdi.swing.TabMDIWindowManager
 

O

OPEN - Static variable in class org.bs.mdi.FileIOManager
 
open(String) - Static method in class org.bs.mdi.Document
Opens an existing document.
openDocument() - Method in class org.bs.mdi.Application
Displays a "Open File"-Dialog and tries to open the selected file.
openDocument(String) - Method in class org.bs.mdi.Application
Tries to open the given file.
org.bs.mdi - package org.bs.mdi
 
org.bs.mdi.swing - package org.bs.mdi.swing
 
org.jk.printpreview - package org.jk.printpreview
 

P

PROGRESS_UNAVAILABLE - Static variable in interface org.bs.mdi.Task
Should be returned by Task.getProgress() if the current status cannot be determined.
Preferences - class org.bs.mdi.Preferences.
Manages application-specific per-user preferences and settings.
Preferences() - Constructor for class org.bs.mdi.Preferences
Creates a new Preferences object.
PreviewDialog - class org.jk.printpreview.PreviewDialog.
 
PreviewDialog(String, JFrame, Pageable, double) - Constructor for class org.jk.printpreview.PreviewDialog
 
PreviewDialog(String, JFrame, Pageable) - Constructor for class org.jk.printpreview.PreviewDialog
 
PreviewDialog(String, JFrame, Printable, PageFormat, int, double) - Constructor for class org.jk.printpreview.PreviewDialog
 
PreviewDialog(String, JFrame, Printable, PageFormat, int) - Constructor for class org.jk.printpreview.PreviewDialog
 
Printer - interface org.b