be.lassi.ui.util.mac
Class MacApplication
java.lang.Object
  
be.lassi.ui.util.mac.MacApplication
public class MacApplication
- extends java.lang.Object
 
Represents this application when running on Mac OS X.  Uses reflection
 to provide access to com.apple.eawt.Application, so that
 our code compiles, even in environments where Application is not
 available.
| 
Field Summary | 
static boolean | 
MAC
 
          Indicates whether we are running on the Mac OSX operating system. | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
MAC
public static boolean MAC
- Indicates whether we are running on the Mac OSX operating system.
 
MacApplication
public MacApplication()
               throws java.lang.Exception
- Constructs a new instance.
- Throws:
 java.lang.Exception - if problem
 
addApplicationListener
public void addApplicationListener(MacApplicationListener listener)
- Adds an Mac application event handler.
- Parameters:
 listener - the Mac application event handler to be added
 
 
isMac
public static boolean isMac()
- Indicates whether we are currently running on Mac operating system.
- Returns:
 - true if running on Mac