org.rosuda.ibase.toolkit
Class PlatformMac

java.lang.Object
  extended by org.rosuda.util.Platform
      extended by org.rosuda.util.PlatformMac
          extended by org.rosuda.ibase.toolkit.PlatformMac
All Implemented Interfaces:
com.apple.mrj.MRJAboutHandler, com.apple.mrj.MRJOpenDocumentHandler, com.apple.mrj.MRJPrefsHandler, com.apple.mrj.MRJQuitHandler

public class PlatformMac
extends PlatformMac

This is just an example of what individaul implementations may want to do in order to make the handlers work. Clearly we cannot implement handleOpenFile(java.io.File) - that's up to the individual application.


Field Summary
 
Fields inherited from class org.rosuda.util.Platform
isMac, isWin, screenRes
 
Constructor Summary
PlatformMac()
           
 
Method Summary
 void handleAbout()
           
 void handleOpenFile(File fileName)
           
 void handlePrefs()
           
 
Methods inherited from class org.rosuda.util.PlatformMac
getResourceFile, registerHandlers
 
Methods inherited from class org.rosuda.util.Platform
forceResourceFile, getPlatform, getResourceInput, handleQuit, initPlatform, initPlatform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.apple.mrj.MRJQuitHandler
handleQuit
 

Constructor Detail

PlatformMac

public PlatformMac()
Method Detail

handleAbout

public void handleAbout()
Specified by:
handleAbout in interface com.apple.mrj.MRJAboutHandler
Overrides:
handleAbout in class Platform

handleOpenFile

public void handleOpenFile(File fileName)
Specified by:
handleOpenFile in interface com.apple.mrj.MRJOpenDocumentHandler
Overrides:
handleOpenFile in class Platform

handlePrefs

public void handlePrefs()
Specified by:
handlePrefs in interface com.apple.mrj.MRJPrefsHandler
Overrides:
handlePrefs in class Platform