|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.curre.prefcount.util.mac.MacOsHandler
public class MacOsHandler
This is a Mac OS helper class to assist with handling
of MAC OS events using the com.apple.eawt.Application
class. This class will not work on a platform other than Mac OS.
com.apple.eawt package, but since no such
package exist on a non-Mac platform, we must use reflection API
to create objects and invoke methods of those Mac-specific classes.
Created date: Jan 22, 2008
| Constructor Summary | |
|---|---|
MacOsHandler()
|
|
| Method Summary | |
|---|---|
static void |
initializeMacOsHandler()
Method to initialized Mac OS application handler, which functionality is based upone the com.apple.eawt.Application class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacOsHandler()
| Method Detail |
|---|
public static void initializeMacOsHandler()
com.apple.eawt.Application class. Here
we add custom "about" and "quit" handlers to the Mac application menu bar.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||