|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsears.tools.eawt.ApplicationAdapter
sears.tools.eawt.SearsApplicationListener
public class SearsApplicationListener
This class will implement com.apple.eawt.ApplicationListener interface
Constructor Summary | |
---|---|
SearsApplicationListener()
Construct a new instance |
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 |
handleQuit(java.lang.Object arg0)
com.apple.eawt.ApplicationListener#handleQuit(com.apple.eawt.ApplicationEvent) Called when the application is sent the Quit event. |
Methods inherited from class sears.tools.eawt.ApplicationAdapter |
---|
handlePrintFile, handleReOpenApplication |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearsApplicationListener()
java.lang.NullPointerException
- if frame is nullMethod Detail |
---|
public void handleAbout(java.lang.Object event)
ApplicationListener
handleAbout
in interface ApplicationListener
handleAbout
in class ApplicationAdapter
event
- an ApplicationEvent initiated by the user choosing About in the application menupublic void handleOpenApplication(java.lang.Object event)
ApplicationListener
handleOpenApplication
in interface ApplicationListener
handleOpenApplication
in class ApplicationAdapter
event
- the Open Application eventpublic void handleOpenFile(java.lang.Object event)
ApplicationListener
handleOpenFile
in interface ApplicationListener
handleOpenFile
in class ApplicationAdapter
event
- an Open Document event with reference to the file to be openedpublic void handlePreferences(java.lang.Object event)
ApplicationListener
handlePreferences
in interface ApplicationListener
handlePreferences
in class ApplicationAdapter
event
- triggered when the user selects Preferences from the application menupublic void handleQuit(java.lang.Object arg0)
ApplicationListener
handleQuit
in interface ApplicationListener
handleQuit
in class ApplicationAdapter
arg0
- a Quit Application event
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |