public class OSXAdapter extends Object implements InvocationHandler
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Abbot is hosted on