|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.apple.mrj.MRJApplicationUtils
Constructor Summary | |
MRJApplicationUtils()
|
Method Summary | |
static boolean |
isMRJToolkitAvailable()
Returns a boolean "true" if MRJToolkit is installed on this Mac OS computer |
static void |
registerAboutHandler(MRJAboutHandler handler)
Register an object that will be notified when the About menu item is chosen. |
static void |
registerOpenApplicationHandler(MRJOpenApplicationHandler handler)
Register an object that will be called when the application is launched by itself with no files. |
static void |
registerOpenDocumentHandler(MRJOpenDocumentHandler handler)
Register an object that will be called when an a file is dropped on this application from the Finder. |
static void |
registerPrefsHandler(MRJPrefsHandler handler)
Register an object that will be called when someone chooses "Preferences" from the Application Menu. |
static void |
registerPrintDocumentHandler(MRJPrintDocumentHandler handler)
Register an object that will be called when the Finder requests that a document created by this application be printed. |
static void |
registerQuitHandler(MRJQuitHandler handler)
Register an object that will be called when someone chooses "Quit" from the Apple Menu, or when the system requests that the application exit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MRJApplicationUtils()
Method Detail |
public static final boolean isMRJToolkitAvailable()
public static final void registerAboutHandler(MRJAboutHandler handler)
public static final void registerOpenApplicationHandler(MRJOpenApplicationHandler handler)
public static final void registerOpenDocumentHandler(MRJOpenDocumentHandler handler)
public static final void registerPrintDocumentHandler(MRJPrintDocumentHandler handler)
public static final void registerQuitHandler(MRJQuitHandler handler)
public static final void registerPrefsHandler(MRJPrefsHandler handler)
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.