org.xwt.plat
Class Win32.Win32Surface
java.lang.Object
org.xwt.PixelBuffer
org.xwt.Surface
org.xwt.Surface.DoubleBufferedSurface
org.xwt.plat.Win32.Win32Surface
- Enclosing class:
- Win32
- public static class Win32.Win32Surface
- extends Surface.DoubleBufferedSurface
Fields inherited from class org.xwt.Surface |
allSurfaces, alt, button1, button2, button3, control, cursor, maximized, minimized, mousex, mousey, root, shift |
Method Summary |
void |
_dispose()
|
void |
_setMaximized(boolean m)
|
void |
_setMinimized(boolean m)
|
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 |
finalize()
|
void |
natInit(boolean framed)
|
void |
postCursorChange()
|
void |
setIcon(Picture p)
|
void |
setInvisible(boolean i)
|
void |
setLocation()
|
void |
setTitleBarText(java.lang.String s)
|
void |
syncCursor()
|
void |
toBack()
|
void |
toFront()
|
int |
WndProc(int hwnd,
int imsg,
int wparam,
int lparam)
nothing more than a method version of WndProc, so we can access instance members/methods |
Methods inherited from class org.xwt.Surface |
Click, Close, dirty, dispose, DoubleClick, Focused, getHeight, getWidth, KeyPressed, KeyReleased, Maximized, Minimized, Move, PosChange, Press, Refresh, Release, setLimits, setMaximized, setMinimized, setSize, SizeChange |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hwndCreated
public Semaphore hwndCreated
- used to block while waiting for the message pump thread to create a hwnd for us
hwnd
public int hwnd
hdc
public int hdc
current_cursor
public int current_cursor
previous_cursor
public int previous_cursor
- used to restore the cursor immediately before ReleaseCapture()
Win32.Win32Surface
public Win32.Win32Surface(Box b,
boolean framed)
WndProc
public int WndProc(int hwnd,
int imsg,
int wparam,
int lparam)
- nothing more than a method version of WndProc, so we can access instance members/methods
natInit
public void natInit(boolean framed)
syncCursor
public void syncCursor()
- Specified by:
syncCursor
in class Surface
finalize
public void finalize()
postCursorChange
public void postCursorChange()
toBack
public void toBack()
- Specified by:
toBack
in class Surface
toFront
public void toFront()
- Specified by:
toFront
in class Surface
_setMinimized
public void _setMinimized(boolean m)
- Specified by:
_setMinimized
in class Surface
setInvisible
public void setInvisible(boolean i)
- Specified by:
setInvisible
in class Surface
_setMaximized
public void _setMaximized(boolean m)
- Specified by:
_setMaximized
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
setTitleBarText
public void setTitleBarText(java.lang.String s)
- Specified by:
setTitleBarText
in class Surface
setIcon
public void setIcon(Picture p)
- Specified by:
setIcon
in class Surface
_dispose
public void _dispose()
- Specified by:
_dispose
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