Package org.omegat.util.gui
Class OSXIntegration
- java.lang.Object
-
- org.omegat.util.gui.OSXIntegration
-
public final class OSXIntegration extends java.lang.Object
This class uses reflection to set Mac OS X-specific integration hooks.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
OSXIntegration.IOpenFilesHandler
-
Field Summary
Fields Modifier and Type Field Description static java.awt.Image
APP_ICON_MAC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
enableFullScreen(java.awt.Window window)
static void
init()
static void
setAboutHandler(java.awt.event.ActionListener al)
static void
setModifiedIndicator(javax.swing.JRootPane rootPane, boolean isModified)
static void
setOpenFilesHandler(OSXIntegration.IOpenFilesHandler ofh)
static void
setPreferencesHandler(java.awt.event.ActionListener listener)
static void
setProxyIcon(javax.swing.JRootPane rootPane, java.io.File file)
static void
setQuitHandler(java.awt.event.ActionListener al)
-
-
-
Method Detail
-
init
public static void init()
-
setAboutHandler
public static void setAboutHandler(java.awt.event.ActionListener al)
-
setQuitHandler
public static void setQuitHandler(java.awt.event.ActionListener al)
-
setOpenFilesHandler
public static void setOpenFilesHandler(OSXIntegration.IOpenFilesHandler ofh)
-
setPreferencesHandler
public static void setPreferencesHandler(java.awt.event.ActionListener listener)
-
enableFullScreen
public static void enableFullScreen(java.awt.Window window)
-
setProxyIcon
public static void setProxyIcon(javax.swing.JRootPane rootPane, java.io.File file)
-
setModifiedIndicator
public static void setModifiedIndicator(javax.swing.JRootPane rootPane, boolean isModified)
-
-