|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Structure
com.jniwrapper.jawt.JAWT_DrawingSurface
public class JAWT_DrawingSurface
JAWT drawing surface structure. Provides functions to access a native drawing context of an AWT component.
Field Summary |
---|
Fields inherited from class com.jniwrapper.Parameter |
---|
LICENSE_TYPE, V |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
freeDrawingSurfaceInfo(Pointer pDsi)
Frees the drawing surface information. |
void |
getDrawingSurfaceInfo(Pointer pDsi)
Reads the native drawing surface information. |
int |
lock()
Locks this drawing surface. |
void |
unlock()
Unlocks this drawing surface. |
Methods inherited from class com.jniwrapper.Structure |
---|
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 |
---|
asReturnValue, 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 |
Method Detail |
---|
public int lock()
unlock()
method.
JAWT.JAWT_LOCK_ERROR
- When an error has occurred and the surface cannot be locked.JAWT.JAWT_LOCK_CLIP_CHANGED
- When the clip region has changed.JAWT.JAWT_LOCK_BOUNDS_CHANGED
- When the bounds of the surface has changed.JAWT.JAWT_LOCK_SURFACE_CHANGED
- When the surface itself has changed.public void getDrawingSurfaceInfo(Pointer pDsi)
pDsi
- a pointer to the JAWT_DrawingSurfaceInfo
structure initialized with a proper platform-dependent
platformInfo
structure. The passed structure will be filled
with the drawing surface data.public void freeDrawingSurfaceInfo(Pointer pDsi)
pDsi
- a pointer to the JAWT_DrawingSurfaceInfo
structure that was previously filled in by the
getDrawingSurfaceInfo
method.public void unlock()
public java.lang.Object clone()
clone
in class Structure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |