Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.libsdl
Class SDLStruct  view SDLStruct download SDLStruct.java

java.lang.Object
  extended byorg.libsdl.SDLStruct

public abstract class SDLStruct
extends java.lang.Object

The SDLStruct class is the base class for any SDL_java class that represents a native C "object" (aka struct). Most (but not all) SDL C structures have a corresponding SDL_java class. These classes all extend the SDLStruct class.

Version:
$revision$

Field Summary
protected  int pointer
          An integer that holds the value of a native pointer.
 
Constructor Summary
SDLStruct(int l)
          Create a new object, setting the pointer variable to the value of l.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pointer

protected int pointer
An integer that holds the value of a native pointer. In other words, a native pointer to a C struct can be obtained using the value of this instance variable.

Constructor Detail

SDLStruct

public SDLStruct(int l)
Create a new object, setting the pointer variable to the value of l.