|
||||||||||
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.JVM org.xwt.plat.AWT
Platform subclass for all VM's providing AWT 1.1 functionality
Nested Class Summary | |
protected static class |
AWT.AWTPicture
|
protected static class |
AWT.AWTPixelBuffer
|
protected static class |
AWT.AWTSurface
|
Field Summary |
Fields inherited from class org.xwt.Platform |
build |
Constructor Summary | |
AWT()
|
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 Picture |
_decodeJPEG(java.io.InputStream is,
java.lang.String name)
|
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 int |
_getScreenHeight()
|
protected int |
_getScreenWidth()
|
protected void |
_setClipBoard(java.lang.String s)
|
protected java.lang.String |
getDescriptiveName()
a string describing the VM |
protected static int |
modifiersToButtonNumber(int modifiers)
some platforms (cough, cough, NetscapeVM) have totally broken modifier masks; they will need to override this |
protected void |
postInit()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AWT()
Method Detail |
protected java.lang.String getDescriptiveName()
Platform
getDescriptiveName
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 Surface _createSurface(Box b, boolean framed)
Platform
_createSurface
in class Platform
protected void postInit()
postInit
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 static int modifiersToButtonNumber(int modifiers)
protected java.lang.String _fileDialog(java.lang.String suggestedFileName, boolean write)
Platform
_fileDialog
in class Platform
protected Picture _decodeJPEG(java.io.InputStream is, java.lang.String name)
_decodeJPEG
in class Platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |