sears.tools.eawt
Interface ApplicationListener

All Known Implementing Classes:
ApplicationAdapter, SearsApplicationListener

public interface ApplicationListener

com.apple.eawt.ApplicationListener The listener interface for receiving ApplicationEvents.


Method Summary
 void handleAbout(java.lang.Object event)
          com.apple.eawt.ApplicationListener#handleAbout(com.apple.eawt.ApplicationEvent)
Called when the user selects the About item in the application menu.
 void handleOpenApplication(java.lang.Object event)
          com.apple.eawt.ApplicationListener#handleOpenApplication(com.apple.eawt.ApplicationEvent)
Called when the application receives an Open Application event from the Finder or another application.
 void handleOpenFile(java.lang.Object event)
          com.apple.eawt.ApplicationListener#handleOpenApplication(com.apple.eawt.ApplicationEvent)
Called when the application receives an Open Document event from the Finder or another application.
 void handlePreferences(java.lang.Object event)
          com.apple.eawt.ApplicationListener#handlePreferences(com.apple.eawt.ApplicationEvent)
Called when the Preference item in the application menu is selected.
 void handlePrintFile(java.lang.Object event)
          com.apple.eawt.ApplicationListener#handlePrintFile(com.apple.eawt.ApplicationEvent)
Called when the application is sent a request to print a particular file or files.
 void handleQuit(java.lang.Object event)
          com.apple.eawt.ApplicationListener#handleQuit(com.apple.eawt.ApplicationEvent)
Called when the application is sent the Quit event.
 void handleReOpenApplication(java.lang.Object event)
          com.apple.eawt.ApplicationListener#handleReOpenApplication(com.apple.eawt.ApplicationEvent)
Called when the application receives a Reopen Application event from the Finder or another application.
 

Method Detail

handleAbout

void handleAbout(java.lang.Object event)
com.apple.eawt.ApplicationListener#handleAbout(com.apple.eawt.ApplicationEvent)
Called when the user selects the About item in the application menu.

Parameters:
event - an ApplicationEvent initiated by the user choosing About in the application menu

handleOpenApplication

void handleOpenApplication(java.lang.Object event)
com.apple.eawt.ApplicationListener#handleOpenApplication(com.apple.eawt.ApplicationEvent)
Called when the application receives an Open Application event from the Finder or another application.

Parameters:
event - the Open Application event

handleOpenFile

void handleOpenFile(java.lang.Object event)
com.apple.eawt.ApplicationListener#handleOpenApplication(com.apple.eawt.ApplicationEvent)
Called when the application receives an Open Document event from the Finder or another application.

Parameters:
event - an Open Document event with reference to the file to be opened

handlePreferences

void handlePreferences(java.lang.Object event)
com.apple.eawt.ApplicationListener#handlePreferences(com.apple.eawt.ApplicationEvent)
Called when the Preference item in the application menu is selected.

Parameters:
event - triggered when the user selects Preferences from the application menu

handlePrintFile

void handlePrintFile(java.lang.Object event)
com.apple.eawt.ApplicationListener#handlePrintFile(com.apple.eawt.ApplicationEvent)
Called when the application is sent a request to print a particular file or files.

Parameters:
event - a Print Document event with a reference to the file(s) to be printed

handleQuit

void handleQuit(java.lang.Object event)
com.apple.eawt.ApplicationListener#handleQuit(com.apple.eawt.ApplicationEvent)
Called when the application is sent the Quit event.

Parameters:
event - a Quit Application event

handleReOpenApplication

void handleReOpenApplication(java.lang.Object event)
com.apple.eawt.ApplicationListener#handleReOpenApplication(com.apple.eawt.ApplicationEvent)
Called when the application receives a Reopen Application event from the Finder or another application.

Parameters:
event - the Reopen Application event