|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.common.ui.MacWrapper
public class MacWrapper
Utility class to wrap Mac OS X-specific shutdown handler.
Based on TripleA code.
Needs AppleJavaExtensions.jar to compile on non-Mac platform.
http://developer.apple.com/samplecode/AppleJavaExtensions/index.html| Constructor Summary | |
|---|---|
MacWrapper()
|
|
| Method Summary | |
|---|---|
static void |
registerMacShutdownHandler(MainGameFrame frame)
|
static void |
unregisterShutdownHandler()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MacWrapper()
| Method Detail |
|---|
public static void registerMacShutdownHandler(MainGameFrame frame)
public static void unregisterShutdownHandler()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||