|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object abbot.editor.OSXAdapter
public class OSXAdapter
Provide access to OSX application hooks. Compilable on all platforms.
Method Summary | |
---|---|
static void |
enablePrefs(boolean enabled)
Another static entry point for EAWT functionality. |
void |
handleAbout(Object e)
|
void |
handleOpenApplication(Object e)
|
void |
handleOpenFile(Object e)
|
void |
handlePreferences(Object e)
|
void |
handlePrintFile(Object e)
|
void |
handleQuit(Object e)
|
void |
handleReOpenApplication(Object e)
User clicked on application in the Dock. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
Handle all calls from the host OS. |
static boolean |
isMac()
|
static void |
register(Frame owner,
Action quit,
Action about,
Action prefs)
Register the given special frame actions with OSX. |
static void |
unregister(Frame owner)
Unregister the given frame's actions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isMac()
public void handleAbout(Object e)
public void handlePreferences(Object e)
public void handleQuit(Object e)
public void handleReOpenApplication(Object e)
public void handleOpenApplication(Object e)
public void handleOpenFile(Object e)
public void handlePrintFile(Object e)
public static void register(Frame owner, Action quit, Action about, Action prefs)
public static void unregister(Frame owner)
public static void enablePrefs(boolean enabled)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |