csheets
Interface SpreadsheetAppListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ActionManager.ActionEnabler, FileChooser, ReopenMenu, UIController, ViewMenu, WindowMenu

public interface SpreadsheetAppListener
extends EventListener

A listener for receiving notification when workbooks are created, loaded and saved in a spreadsheet application.

Author:
Einar Pehrson

Method Summary
 void workbookCreated(SpreadsheetAppEvent event)
          Invoked by the spreadsheet application to indicate that a new workbook has been created.
 void workbookLoaded(SpreadsheetAppEvent event)
          Invoked by the spreadsheet application to indicate that a workbook has been loaded from the given file.
 void workbookSaved(SpreadsheetAppEvent event)
          Invoked by the spreadsheet application to indicate that a workbook was saved to the given file.
 void workbookUnloaded(SpreadsheetAppEvent event)
          Invoked by the spreadsheet application to indicate that a workbook has been unloaded (closed).
 

Method Detail

workbookCreated

void workbookCreated(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a new workbook has been created.

Parameters:
event - the spreadsheet application event that occured

workbookLoaded

void workbookLoaded(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a workbook has been loaded from the given file.

Parameters:
event - the spreadsheet application event that occured

workbookUnloaded

void workbookUnloaded(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a workbook has been unloaded (closed).

Parameters:
event - the spreadsheet application event that occured

workbookSaved

void workbookSaved(SpreadsheetAppEvent event)
Invoked by the spreadsheet application to indicate that a workbook was saved to the given file.

Parameters:
event - the spreadsheet application event that occured