org.xwt.plat
Class X11.X11Surface

java.lang.Object
  extended byorg.xwt.PixelBuffer
      extended byorg.xwt.Surface
          extended byorg.xwt.Surface.DoubleBufferedSurface
              extended byorg.xwt.plat.X11.X11Surface
Enclosing class:
X11

public static class X11.X11Surface
extends Surface.DoubleBufferedSurface

Implements a Surface as an X11 Window


Nested Class Summary
 
Nested classes inherited from class org.xwt.Surface
Surface.DoubleBufferedSurface, Surface.SimpleMessage
 
Field Summary
 
Fields inherited from class org.xwt.Surface
allSurfaces, alt, button1, button2, button3, control, cursor, maximized, minimized, mousex, mousey, root, shift
 
Constructor Summary
X11.X11Surface(Box root, boolean framed)
           
 
Method Summary
 void _dispose()
           
 void _setMaximized(boolean m)
           
 void _setMinimized(boolean b)
           
 void _setSize(int w, int h)
           
 void blit(PixelBuffer s, int sx, int sy, int dx, int dy, int dx2, int dy2)
          copies a region from the doublebuffer to this surface
 void dispatchEvent(gnu.gcj.RawData ev)
           
 void natInit()
           
 void setIcon(Picture p)
           
 void setInvisible(boolean i)
           
 void setLimits(int minw, int minh, int maxw, int maxh)
           
 void setLocation()
           
 void setTitleBarText(java.lang.String s)
           
 void syncCursor()
           
 void toBack()
           
 void toFront()
           
 
Methods inherited from class org.xwt.Surface.DoubleBufferedSurface
Dirty, drawPicture, drawPictureAlphaOnly, fillTrapezoid, render_, render
 
Methods inherited from class org.xwt.Surface
Click, Close, dirty, dispose, DoubleClick, Focused, getHeight, getWidth, KeyPressed, KeyReleased, Maximized, Minimized, Move, PosChange, Press, Refresh, Release, setMaximized, setMinimized, setSize, SizeChange
 
Methods inherited from class org.xwt.PixelBuffer
drawLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X11.X11Surface

public X11.X11Surface(Box root,
                      boolean framed)
Method Detail

setInvisible

public void setInvisible(boolean i)
Specified by:
setInvisible in class Surface

_setMaximized

public void _setMaximized(boolean m)
Specified by:
_setMaximized in class Surface

setIcon

public void setIcon(Picture p)
Specified by:
setIcon in class Surface

_setMinimized

public void _setMinimized(boolean b)
Specified by:
_setMinimized in class Surface

setTitleBarText

public void setTitleBarText(java.lang.String s)
Specified by:
setTitleBarText in class Surface

_setSize

public void _setSize(int w,
                     int h)
Specified by:
_setSize in class Surface

setLocation

public void setLocation()
Specified by:
setLocation in class Surface

natInit

public void natInit()

toFront

public void toFront()
Specified by:
toFront in class Surface

toBack

public void toBack()
Specified by:
toBack in class Surface

syncCursor

public void syncCursor()
Specified by:
syncCursor in class Surface

_dispose

public void _dispose()
Specified by:
_dispose in class Surface

setLimits

public void setLimits(int minw,
                      int minh,
                      int maxw,
                      int maxh)
Overrides:
setLimits in class Surface

blit

public void blit(PixelBuffer s,
                 int sx,
                 int sy,
                 int dx,
                 int dy,
                 int dx2,
                 int dy2)
Description copied from class: Surface.DoubleBufferedSurface
copies a region from the doublebuffer to this surface

Specified by:
blit in class Surface.DoubleBufferedSurface

dispatchEvent

public void dispatchEvent(gnu.gcj.RawData ev)