|
||||||||||
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.POSIX org.xwt.plat.X11
Platform implementation for POSIX compliant operating systems with an X11 Server
Nested Class Summary | |
static class |
X11.X11Picture
Implements a Picture. |
static class |
X11.X11PixelBuffer
An X11PixelBuffer is implemented as an X11 pixmap. |
static class |
X11.X11Surface
Implements a Surface as an X11 Window |
Nested classes inherited from class org.xwt.plat.GCJ |
GCJ.Retainer |
Field Summary | |
static java.lang.String |
clipboard
our local (in-process) copy of the clipboard |
static Semaphore |
waiting_for_selection_event
When the user reads from the clipboard, the main thread blocks on this semaphore until we get an X11 SelectionNotify. |
static java.util.Hashtable |
windowToSurfaceMap
map from Window's (casted to jlong, wrapped in java.lang.Long) to X11Surface objects |
Fields inherited from class org.xwt.Platform |
build |
Constructor Summary | |
X11()
|
Method Summary | |
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 java.lang.String |
_getAltKeyName()
|
protected java.lang.String |
_getClipBoard()
|
protected int |
_getScreenHeight()
|
protected int |
_getScreenWidth()
|
protected boolean |
_needsAutoClick()
|
protected boolean |
_needsAutoDoubleClick()
|
protected void |
_setClipBoard(java.lang.String s)
|
protected void |
eventThread()
|
void |
init()
this initializes the platform; code in here can invoke methods on Platform since Platform.platform has already been set |
Methods inherited from class org.xwt.plat.POSIX |
_getEnv, _newBrowserWindow, getDescriptiveName |
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 Semaphore waiting_for_selection_event
public static java.lang.String clipboard
public static java.util.Hashtable windowToSurfaceMap
Constructor Detail |
public X11()
Method Detail |
protected java.lang.String _getAltKeyName()
protected Picture _createPicture(int[] data, int w, int h)
_createPicture
in class Platform
protected PixelBuffer _createPixelBuffer(int w, int h, Surface owner)
_createPixelBuffer
in class Platform
protected Surface _createSurface(Box b, boolean framed)
Platform
_createSurface
in class Platform
protected boolean _needsAutoClick()
_needsAutoClick
in class Platform
protected int _getScreenWidth()
_getScreenWidth
in class Platform
protected int _getScreenHeight()
_getScreenHeight
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 _needsAutoDoubleClick()
_needsAutoDoubleClick
in class Platform
protected void eventThread()
public void init()
Platform
init
in class Platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |