|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xwt.Platform org.xwt.plat.GCJ org.xwt.plat.Win32
Platform specific code for GCJ-compiled Win32 binaries
Nested Class Summary | |
static class |
Win32.Win32Picture
|
static class |
Win32.Win32PixelBuffer
|
static class |
Win32.Win32Surface
|
Nested classes inherited from class org.xwt.plat.GCJ |
GCJ.Retainer |
Field Summary | |
static java.util.Hashtable |
hwndToWin32SurfaceMap
reverse lookup from hwnd to Win32Surface |
static Semaphore |
messagePumpStarted
lets us know that natInit() is finished |
static int |
messagePumpThread
ThreadId of the message pump thread, used to send it messages |
Fields inherited from class org.xwt.Platform |
build |
Constructor Summary | |
Win32()
|
Method Summary | |
protected Picture |
_createPicture(int[] b,
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 void |
_criticalAbort(java.lang.String message)
used to notify the user of very serious failures; usually used when logging is not working or unavailable |
protected HTTP.Proxy |
_detectProxy()
detects proxy settings |
protected java.lang.String |
_fileDialog(java.lang.String suggestedFileName,
boolean write)
displays a platform-specific "open file" dialog and returns the chosen filename, or null if the user hit cancel |
protected java.lang.String |
_getClipBoard()
|
protected java.lang.String |
_getEnv(java.lang.String key)
|
protected int |
_getScreenHeight()
|
protected int |
_getScreenWidth()
|
protected boolean |
_isCaseSensitive()
|
protected boolean |
_needsAutoClick()
|
protected boolean |
_newBrowserWindow_(java.lang.String url)
|
protected void |
_newBrowserWindow(java.lang.String url)
default implementation is Eric Albert's BrowserLauncher.java |
protected void |
_setClipBoard(java.lang.String s)
|
protected boolean |
_supressDirtyOnResize()
|
protected java.lang.String |
getDescriptiveName()
a string describing the VM |
static java.lang.String |
getTempPath()
|
void |
init()
this initializes the platform; code in here can invoke methods on Platform since Platform.platform has already been set |
static void |
natInit()
|
Methods inherited from class org.xwt.plat.GCJ |
_decodeJPEG, _getBuiltinInputStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.util.Hashtable hwndToWin32SurfaceMap
public static Semaphore messagePumpStarted
public static int messagePumpThread
Constructor Detail |
public Win32()
Method Detail |
public static java.lang.String getTempPath()
public static void natInit()
protected java.lang.String _fileDialog(java.lang.String suggestedFileName, boolean write)
Platform
_fileDialog
in class Platform
public void init()
Platform
init
in class Platform
protected java.lang.String _getEnv(java.lang.String key)
_getEnv
in class Platform
protected boolean _needsAutoClick()
_needsAutoClick
in class Platform
protected java.lang.String getDescriptiveName()
Platform
getDescriptiveName
in class Platform
protected Surface _createSurface(Box b, boolean framed)
Platform
_createSurface
in class Platform
protected PixelBuffer _createPixelBuffer(int w, int h, Surface owner)
_createPixelBuffer
in class Platform
protected Picture _createPicture(int[] b, int w, int h)
_createPicture
in class Platform
protected int _getScreenWidth()
_getScreenWidth
in class Platform
protected int _getScreenHeight()
_getScreenHeight
in class Platform
protected boolean _supressDirtyOnResize()
_supressDirtyOnResize
in class Platform
protected void _criticalAbort(java.lang.String message)
Platform
_criticalAbort
in class Platform
protected java.lang.String _getClipBoard()
_getClipBoard
in class Platform
protected void _setClipBoard(java.lang.String s)
_setClipBoard
in class Platform
protected boolean _isCaseSensitive()
_isCaseSensitive
in class Platform
protected HTTP.Proxy _detectProxy()
Platform
_detectProxy
in class Platform
protected boolean _newBrowserWindow_(java.lang.String url)
protected void _newBrowserWindow(java.lang.String url)
Platform
_newBrowserWindow
in class Platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |