sears.tools.eawt
Class ApplicationAdapter

java.lang.Object
  extended by sears.tools.eawt.ApplicationAdapter
All Implemented Interfaces:
ApplicationListener
Direct Known Subclasses:
SearsApplicationListener

public class ApplicationAdapter
extends java.lang.Object
implements ApplicationListener

Adapter for ApplicationListener interface

See Also:
ApplicationListener

Constructor Summary
ApplicationAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationAdapter

public ApplicationAdapter()
Method Detail

handleAbout

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

Specified by:
handleAbout in interface ApplicationListener
Parameters:
event - an ApplicationEvent initiated by the user choosing About in the application menu

handleOpenApplication

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

Specified by:
handleOpenApplication in interface ApplicationListener
Parameters:
event - the Open Application event

handleOpenFile

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

Specified by:
handleOpenFile in interface ApplicationListener
Parameters:
event - an Open Document event with reference to the file to be opened

handlePreferences

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

Specified by:
handlePreferences in interface ApplicationListener
Parameters:
event - triggered when the user selects Preferences from the application menu

handlePrintFile

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

Specified by:
handlePrintFile in interface ApplicationListener
Parameters:
event - a Print Document event with a reference to the file(s) to be printed

handleQuit

public void handleQuit(java.lang.Object event)
Description copied from interface: ApplicationListener
com.apple.eawt.ApplicationListener#handleQuit(com.apple.eawt.ApplicationEvent)
Called when the application is sent the Quit event.

Specified by:
handleQuit in interface ApplicationListener
Parameters:
event - a Quit Application event

handleReOpenApplication

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

Specified by:
handleReOpenApplication in interface ApplicationListener
Parameters:
event - the Reopen Application event