edu.stanford.nlp.trees.tregex.gui
Class OSXAdapter

java.lang.Object
  extended by ApplicationAdapter
      extended by edu.stanford.nlp.trees.tregex.gui.OSXAdapter

public class OSXAdapter
extends ApplicationAdapter

Class to load OSX specific settings for TregexGUI. Made by consulting the Apple sample code for a similar (and identically named) class at http://devworld.apple.com/samplecode/OSXAdapter/index.html.

Author:
rafferty

Method Summary
static void enablePrefs(boolean enabled)
           
 void handleAbout(ApplicationEvent ae)
           
 void handlePreferences(ApplicationEvent ae)
           
 void handleQuit(ApplicationEvent ae)
           
static void registerMacOSXApplication(TregexGUI inApp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

handleAbout

public void handleAbout(ApplicationEvent ae)

handlePreferences

public void handlePreferences(ApplicationEvent ae)

handleQuit

public void handleQuit(ApplicationEvent ae)

registerMacOSXApplication

public static void registerMacOSXApplication(TregexGUI inApp)

enablePrefs

public static void enablePrefs(boolean enabled)


Stanford NLP Group