org.rosuda.util
Class PlatformMac

java.lang.Object
  extended by org.rosuda.util.Platform
      extended by org.rosuda.util.PlatformMac
Direct Known Subclasses:
PlatformMac, PlatformMac, PlatformMac, PlatformMac

public class PlatformMac
extends Platform

This is an implementation of the Platform class specific to Apple Macintosh systems. The fact that this class is loaded on Apple computers only allows us to use all of the Apple-specific MRJ classes without the risk of encountering missing classes.


Field Summary
 
Fields inherited from class org.rosuda.util.Platform
isMac, isWin, screenRes
 
Constructor Summary
PlatformMac()
           
 
Method Summary
 java.lang.String getResourceFile(java.lang.String rname)
          if possible this returns full path to the specified resource file. if the platform doesn't store bundles in files, the platform should return null
static boolean isPropertyTrue(java.lang.String name, boolean deft)
           
 void registerHandlers()
           
 
Methods inherited from class org.rosuda.util.Platform
forceResourceFile, getPlatform, getResourceInput, handleAbout, handleOpenFile, handlePrefs, handleQuit, initPlatform, initPlatform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlatformMac

public PlatformMac()
Method Detail

getResourceFile

public java.lang.String getResourceFile(java.lang.String rname)
Description copied from class: Platform
if possible this returns full path to the specified resource file. if the platform doesn't store bundles in files, the platform should return null

Overrides:
getResourceFile in class Platform

isPropertyTrue

public static boolean isPropertyTrue(java.lang.String name,
                                     boolean deft)

registerHandlers

public void registerHandlers()