org.xwt.plat
Class Darwin
java.lang.Object
org.xwt.Platform
org.xwt.plat.GCJ
org.xwt.plat.POSIX
org.xwt.plat.Darwin
- public class Darwin
- extends POSIX
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 |
Darwin
public Darwin()
_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