org.xwt.plat
Class Java2

java.lang.Object
  extended byorg.xwt.Platform
      extended byorg.xwt.plat.JVM
          extended byorg.xwt.plat.AWT
              extended byorg.xwt.plat.Java2

public class Java2
extends AWT

Platform class for most reasonable Java1.2+ Java2s


Nested Class Summary
protected static class Java2.Java14Surface
           
protected static class Java2.Java2PixelBuffer
           
protected static class Java2.Java2Surface
           
 
Nested classes inherited from class org.xwt.plat.AWT
AWT.AWTPicture, AWT.AWTPixelBuffer, AWT.AWTSurface
 
Field Summary
 
Fields inherited from class org.xwt.Platform
build
 
Constructor Summary
Java2()
           
 
Method Summary
protected  PixelBuffer _createPixelBuffer(int w, int h, Surface owner)
           
protected  Surface _createSurface(Box root, boolean framed)
          this method invokes the platform _createSurface() method and then enforces a few post-call invariants
protected  HTTP.Proxy _detectProxy()
          this is done with reflection in case a new version of the plugin comes out that doesn't let us pull the sun.plugin.* trick
protected  boolean _supressDirtyOnResize()
           
protected  java.lang.String getDescriptiveName()
          a string describing the VM
 
Methods inherited from class org.xwt.plat.AWT
_createPicture, _criticalAbort, _decodeJPEG, _fileDialog, _getClipBoard, _getScreenHeight, _getScreenWidth, _setClipBoard, modifiersToButtonNumber, postInit
 
Methods inherited from class org.xwt.Platform
_altKeyName, _createAlphaOnlyPicture, _getBuiltinInputStream, _getEnv, _getScheduler, _getSocket, _inputStreamToByteArray, _isCaseSensitive, _maxThreads, _needsAutoClick, _needsAutoDoubleClick, _newBrowserWindow, _running, altKeyName, createAlphaOnlyPicture, createPicture, createPixelBuffer, createSurface, criticalAbort, decodeJPEG, detectProxy, fileDialog, forceLoad, getBuiltinInputStream, getClipBoard, getEnv, getScheduler, getScreenHeight, getScreenWidth, getSocket, init, inputStreamToByteArray, isCaseSensitive, maxThreads, needsAutoClick, needsAutoDoubleClick, newBrowserWindow, running, setClipBoard, supressDirtyOnResize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java2

public Java2()
Method Detail

_supressDirtyOnResize

protected boolean _supressDirtyOnResize()
Overrides:
_supressDirtyOnResize in class Platform

_detectProxy

protected HTTP.Proxy _detectProxy()
this is done with reflection in case a new version of the plugin comes out that doesn't let us pull the sun.plugin.* trick

Overrides:
_detectProxy in class Platform

_createPixelBuffer

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

_createSurface

protected Surface _createSurface(Box root,
                                 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 AWT

getDescriptiveName

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

Overrides:
getDescriptiveName in class AWT