|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.utils.swing.MacUtils
public class MacUtils
Macintosh utilites.
Constructor Summary | |
---|---|
protected |
MacUtils()
Don't allow instantiation but do allow overrides. |
Method Summary | |
---|---|
static void |
initMac(java.lang.String programName,
boolean useScreenMenuBar)
Initializes the Mac OS X environment variables. |
static void |
initMac(XFrame mainFrame,
boolean havePrefs)
Initializes the Mac OS X environment application handlers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MacUtils()
Method Detail |
---|
public static void initMac(java.lang.String programName, boolean useScreenMenuBar)
programName
- The program name.useScreenMenuBar
- True to use the screen menu bar.
Sets the following two system properties:
public static void initMac(XFrame mainFrame, boolean havePrefs)
mainFrame
- The main program frame.havePrefs
- True to add a Preferences item to
the application menu.
Registers a quit handler, a prefs handler, and an about handler.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |