com.jniwrapper.win32.ui
Class WndClass

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.ui.WndClass
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class WndClass
extends com.jniwrapper.Structure

This class represents WNDCLASS structure.


Field Summary
protected  com.jniwrapper.Int _cbClsExtra
           
protected  com.jniwrapper.Int _cbWndExtra
           
protected  Handle _hbrBackground
           
protected  Handle _hCursor
           
protected  Handle _hIcon
           
protected  Handle _hInstance
           
protected  com.jniwrapper.Callback _lpfnWndProc
           
protected  com.jniwrapper.Str _lpszClassName
           
protected  com.jniwrapper.UInt32 _style
           
static int CS_BYTEALIGNCLIENT
           
static int CS_BYTEALIGNWINDOW
           
static int CS_CLASSDC
           
static int CS_DBLCLKS
           
static int CS_GLOBALCLASS
           
static int CS_HREDRAW
           
static int CS_IME
           
static int CS_NOCLOSE
           
static int CS_OWNDC
           
static int CS_PARENTDC
           
static int CS_SAVEBITS
           
static int CS_VREDRAW
           
static int CW_USEDEFAULT
           
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
WndClass(com.jniwrapper.Callback windowProc, java.lang.String className)
           
WndClass(WndClass that)
           
 
Method Summary
 java.lang.Object clone()
           
 com.jniwrapper.Int16 register()
           
 void setBackground(Handle bkground)
           
 void setStyle(long style)
           
 void setStyle(com.jniwrapper.UInt32 style)
           
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CS_VREDRAW

public static final int CS_VREDRAW
See Also:
Constant Field Values

CS_HREDRAW

public static final int CS_HREDRAW
See Also:
Constant Field Values

CS_DBLCLKS

public static final int CS_DBLCLKS
See Also:
Constant Field Values

CS_OWNDC

public static final int CS_OWNDC
See Also:
Constant Field Values

CS_CLASSDC

public static final int CS_CLASSDC
See Also:
Constant Field Values

CS_PARENTDC

public static final int CS_PARENTDC
See Also:
Constant Field Values

CS_NOCLOSE

public static final int CS_NOCLOSE
See Also:
Constant Field Values

CS_SAVEBITS

public static final int CS_SAVEBITS
See Also:
Constant Field Values

CS_BYTEALIGNCLIENT

public static final int CS_BYTEALIGNCLIENT
See Also:
Constant Field Values

CS_BYTEALIGNWINDOW

public static final int CS_BYTEALIGNWINDOW
See Also:
Constant Field Values

CS_GLOBALCLASS

public static final int CS_GLOBALCLASS
See Also:
Constant Field Values

CS_IME

public static final int CS_IME
See Also:
Constant Field Values

CW_USEDEFAULT

public static final int CW_USEDEFAULT
See Also:
Constant Field Values

_lpfnWndProc

protected com.jniwrapper.Callback _lpfnWndProc

_style

protected com.jniwrapper.UInt32 _style

_cbClsExtra

protected com.jniwrapper.Int _cbClsExtra

_cbWndExtra

protected com.jniwrapper.Int _cbWndExtra

_hInstance

protected Handle _hInstance

_hIcon

protected Handle _hIcon

_hCursor

protected Handle _hCursor

_hbrBackground

protected Handle _hbrBackground

_lpszClassName

protected com.jniwrapper.Str _lpszClassName
Constructor Detail

WndClass

public WndClass(com.jniwrapper.Callback windowProc,
                java.lang.String className)

WndClass

public WndClass(WndClass that)
Method Detail

register

public com.jniwrapper.Int16 register()

setStyle

public void setStyle(com.jniwrapper.UInt32 style)

setStyle

public void setStyle(long style)

setBackground

public void setBackground(Handle bkground)

clone

public java.lang.Object clone()
Overrides:
clone in class com.jniwrapper.Structure