org.rococoa.cocoa.webkit
Class NPWindow

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.webkit.NPWindow
Direct Known Subclasses:
NPWindow.ByReference, NPWindow.ByValue

public class NPWindow
extends com.ochafik.lang.jnaerator.runtime.Structure

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NPWindow.ByReference
           
static class NPWindow.ByValue
           
 
Field Summary
 NPRect clipRect
           
 int height
           
 int type
           
 int width
           
 Pointer window
           
 int x
           
 int y
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
NPWindow()
           
NPWindow(Pointer window, int x, int y, int width, int height, NPRect clipRect, int type)
           
 
Method Summary
 NPWindow.ByReference byReference()
           
 NPWindow.ByValue byValue()
           
 NPWindow clone()
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
setupClone
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

window

public Pointer window

x

public int x

y

public int y

width

public int width

height

public int height

clipRect

public NPRect clipRect

type

public int type
See Also:
Is this a window or a drawable?
Constructor Detail

NPWindow

public NPWindow()

NPWindow

public NPWindow(Pointer window,
                int x,
                int y,
                int width,
                int height,
                NPRect clipRect,
                int type)
Parameters:
window - Platform specific window handle
x - Position of top left corner relative
y - to a netscape page.
width - Maximum window size
clipRect - Clipping rectangle in port coordinates
type - @see NPWindowType
Is this a window or a drawable?
Method Detail

byReference

public NPWindow.ByReference byReference()

byValue

public NPWindow.ByValue byValue()

clone

public NPWindow clone()
Overrides:
clone in class Object