org.xwt.plat
Class Darwin

java.lang.Object
  extended byorg.xwt.Platform
      extended byorg.xwt.plat.GCJ
          extended byorg.xwt.plat.POSIX
              extended byorg.xwt.plat.Darwin

public class Darwin
extends POSIX


Nested Class Summary
 
Nested classes inherited from class org.xwt.plat.GCJ
GCJ.Retainer
 
Field Summary
 
Fields inherited from class org.xwt.Platform
build
 
Constructor Summary
Darwin()
           
 
Method Summary
protected  Picture _createAlphaOnlyPicture(byte[] data, int w, int h)
           
protected  Picture _createPicture(int[] data, int w, int h)
           
protected  PixelBuffer _createPixelBuffer(int w, int h, Surface owner)
           
protected  Surface _createSurface(Box b, boolean framed)
          this method invokes the platform _createSurface() method and then enforces a few post-call invariants
protected  HTTP.Proxy _detectProxy()
          detects proxy settings
protected  java.lang.String _fileDialog(java.lang.String fn, boolean w)
          displays a platform-specific "open file" dialog and returns the chosen filename, or null if the user hit cancel
protected  java.lang.String _getAltKeyName()
           
protected  java.lang.String _getClipBoard()
           
protected  int _getScreenHeight()
           
protected  int _getScreenWidth()
           
protected  boolean _isCaseSensitive()
           
protected  boolean _needsAutoClick()
           
protected  boolean _needsAutoDoubleClick()
           
protected  void _newBrowserWindow(java.lang.String url)
          default implementation is Eric Albert's BrowserLauncher.java
 void _running()
           
protected  void _setClipBoard(java.lang.String text)
           
protected  java.lang.String getDescriptiveName()
          a string describing the VM
 void init()
          this initializes the platform; code in here can invoke methods on Platform since Platform.platform has already been set
protected  HTTP.Proxy natDetectProxy()
           
protected  void runApplicationEventLoop()
           
 
Methods inherited from class org.xwt.plat.POSIX
_getEnv
 
Methods inherited from class org.xwt.plat.GCJ
_decodeJPEG, _getBuiltinInputStream
 
Methods inherited from class org.xwt.Platform
_altKeyName, _criticalAbort, _getScheduler, _getSocket, _inputStreamToByteArray, _maxThreads, _supressDirtyOnResize, altKeyName, createAlphaOnlyPicture, createPicture, createPixelBuffer, createSurface, criticalAbort, decodeJPEG, detectProxy, fileDialog, forceLoad, getBuiltinInputStream, getClipBoard, getEnv, getScheduler, getScreenHeight, getScreenWidth, getSocket, inputStreamToByteArray, isCaseSensitive, maxThreads, needsAutoClick, needsAutoDoubleClick, newBrowserWindow, postInit, running, setClipBoard, supressDirtyOnResize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Darwin

public Darwin()
Method Detail

_getAltKeyName

protected java.lang.String _getAltKeyName()

_needsAutoClick

protected boolean _needsAutoClick()
Overrides:
_needsAutoClick in class Platform

_needsAutoDoubleClick

protected boolean _needsAutoDoubleClick()
Overrides:
_needsAutoDoubleClick in class Platform

getDescriptiveName

protected java.lang.String getDescriptiveName()
Description copied from class: Platform
a string describing the VM

Overrides:
getDescriptiveName in class POSIX

_isCaseSensitive

protected boolean _isCaseSensitive()
Overrides:
_isCaseSensitive in class Platform

_getScreenWidth

protected int _getScreenWidth()
Overrides:
_getScreenWidth in class Platform

_getScreenHeight

protected int _getScreenHeight()
Overrides:
_getScreenHeight in class Platform

_newBrowserWindow

protected void _newBrowserWindow(java.lang.String url)
Description copied from class: Platform
default implementation is Eric Albert's BrowserLauncher.java

Overrides:
_newBrowserWindow in class POSIX

natDetectProxy

protected HTTP.Proxy natDetectProxy()

_setClipBoard

protected void _setClipBoard(java.lang.String text)
Overrides:
_setClipBoard in class Platform

_getClipBoard

protected java.lang.String _getClipBoard()
Overrides:
_getClipBoard in class Platform

_fileDialog

protected java.lang.String _fileDialog(java.lang.String fn,
                                       boolean w)
Description copied from class: Platform
displays a platform-specific "open file" dialog and returns the chosen filename, or null if the user hit cancel

Overrides:
_fileDialog in class Platform

_detectProxy

protected HTTP.Proxy _detectProxy()
Description copied from class: Platform
detects proxy settings

Overrides:
_detectProxy in class Platform

runApplicationEventLoop

protected void runApplicationEventLoop()

init

public void init()
Description copied from class: Platform
this initializes the platform; code in here can invoke methods on Platform since Platform.platform has already been set

Overrides:
init in class Platform

_running

public void _running()
Overrides:
_running in class Platform

_createPixelBuffer

protected PixelBuffer _createPixelBuffer(int w,
                                         int h,
                                         Surface owner)
Overrides:
_createPixelBuffer in class Platform

_createSurface

protected Surface _createSurface(Box b,
                                 boolean framed)
Description copied from class: Platform
this method invokes the platform _createSurface() method and then enforces a few post-call invariants

Overrides:
_createSurface in class Platform

_createPicture

protected Picture _createPicture(int[] data,
                                 int w,
                                 int h)
Overrides:
_createPicture in class Platform

_createAlphaOnlyPicture

protected Picture _createAlphaOnlyPicture(byte[] data,
                                          int w,
                                          int h)
Overrides:
_createAlphaOnlyPicture in class Platform