|
Quaqua 5.4.1 2009-07-14 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.randelshofer.quaqua.osx.OSXApplication
public class OSXApplication
OSXApplication
can get the native Mac OS X icon image of the
application, and it can make the application icon bounce in the Dock.
The functionality is performed using the Cocoa class NSApplication.
Method Summary | |
---|---|
static java.awt.image.BufferedImage |
getIconImage(int size)
Returns the icon image of the application. |
static void |
requestUserAttention(boolean requestCritical)
Requests user attention through JNI or through Cocoa Java. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void requestUserAttention(boolean requestCritical)
requestCritical
- Set this to true, if your application invokes
a modal dialog. Set this to false, in all other cases.public static java.awt.image.BufferedImage getIconImage(int size)
size
- the desired size of the icon in pixels (width and height)
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |