|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.muchsoft.util.mac.Java13Adapter
This class registers several callback hooks for Apple's Java 1.3 extensions.
Although it makes internal use of system dependant classes, usage of this class is portable.
Call registerJava13Handler
to register the object that
receives notifications whenever one of the defined Mac OS X GUI events happens.
Version History:
Constructor Summary | |
Java13Adapter()
|
Method Summary | |
void |
handleAbout()
An empty implementation for Java13Handler.handleAbout() . |
void |
handleOpenApplication()
An empty implementation for Java13Handler.handleOpenApplication() . |
void |
handleOpenFile(java.io.File file)
An empty implementation for Java13Handler.handleOpenFile(java.io.File) . |
void |
handlePrefs()
An empty implementation for Java13Handler.handlePrefs() . |
void |
handlePrintFile(java.io.File file)
An empty implementation for Java13Handler.handlePrintFile(java.io.File) . |
void |
handleQuit()
An empty implementation for Java13Handler.handleQuit() . |
static void |
registerJava13Handler(Java13Handler handler)
Registers a callback object that implements Java13Handler . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Java13Adapter()
Method Detail |
public void handleAbout()
Java13Handler.handleAbout()
.
handleAbout
in interface Java13Handler
public void handlePrefs()
Java13Handler.handlePrefs()
.
handlePrefs
in interface Java13Handler
public void handleQuit()
Java13Handler.handleQuit()
.
handleQuit
in interface Java13Handler
public void handleOpenApplication()
Java13Handler.handleOpenApplication()
.
handleOpenApplication
in interface Java13Handler
public void handleOpenFile(java.io.File file)
Java13Handler.handleOpenFile(java.io.File)
.
handleOpenFile
in interface Java13Handler
public void handlePrintFile(java.io.File file)
Java13Handler.handlePrintFile(java.io.File)
.
handlePrintFile
in interface Java13Handler
public static void registerJava13Handler(Java13Handler handler)
Java13Handler
.
handler
- the object that receives the defined Mac OS X GUI events
java.lang.IllegalArgumentException
- if handler is the null reference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |