crystalspace.jbind.impl.engine.light
Class csLightList

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.engine.light.csLightList
All Implemented Interfaces:
iBase, iLightList, iPointer

public class csLightList
extends csBase
implements iLightList

Author:
qan To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csLightList(iPointer nPointer)
           
 
Method Summary
 int add(iLight obj)
          Add a light.
 int find(iLight obj)
          Find a light and return its index.
 iLight findByID(java.lang.String id)
          Find a light by its ID value (16-byte MD5).
 iLight findByName(java.lang.String Name)
          Find a light by name.
 iLight get(int n)
          Return a light by index.
 int getCount()
          Return the number of lights in this list.
static java.lang.Class getInterfaceClass()
           
static java.lang.String getInterfaceName()
           
static int getInterfaceVersion()
           
 java.lang.String getName()
          Return the name of the interface
 int getVersion()
          Return the version of the interface
static void initSCF()
           
protected  boolean isNativePointerValidSafe()
           
 boolean remove(iLight obj)
          Remove a light.
 boolean remove(int n)
          Remove the nth light.
 void removeAll()
          Remove all lights.
 
Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe
 
Methods inherited from class crystalspace.jbind.impl.csNativeObject
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, isNativePointerValidSafe, newNativeObject, setMemoryOwner, toString
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe
 
Methods inherited from interface crystalspace.jbind.interfaces.iPointer
changePointer, getPointer, isMemoryOwner, setMemoryOwner
 

Constructor Detail

csLightList

public csLightList(iPointer nPointer)
Parameters:
nPointer -
Method Detail

getVersion

public int getVersion()
Description copied from interface: iBase
Return the version of the interface

Specified by:
getVersion in interface iBase
Specified by:
getVersion in class csBase

getName

public java.lang.String getName()
Description copied from interface: iBase
Return the name of the interface

Specified by:
getName in interface iBase
Specified by:
getName in class csBase

initSCF

public static void initSCF()

add

public int add(iLight obj)
Description copied from interface: iLightList
Add a light.

Specified by:
add in interface iLightList
Parameters:
obj -
Returns:

getInterfaceVersion

public static int getInterfaceVersion()

getInterfaceName

public static java.lang.String getInterfaceName()

getInterfaceClass

public static java.lang.Class getInterfaceClass()

isNativePointerValidSafe

protected boolean isNativePointerValidSafe()

find

public int find(iLight obj)
Description copied from interface: iLightList
Find a light and return its index.

Specified by:
find in interface iLightList
Parameters:
obj -
Returns:
See Also:
iLightList.find(crystalspace.jbind.interfaces.iengine.light.iLight)

findByID

public iLight findByID(java.lang.String id)
Description copied from interface: iLightList
Find a light by its ID value (16-byte MD5).

Specified by:
findByID in interface iLightList
Parameters:
id -
Returns:
See Also:
iLightList.findByID(java.lang.String)

findByName

public iLight findByName(java.lang.String Name)
Description copied from interface: iLightList
Find a light by name.

Specified by:
findByName in interface iLightList
Parameters:
Name -
Returns:
See Also:
iLightList.findByName(java.lang.String)

get

public iLight get(int n)
Description copied from interface: iLightList
Return a light by index.

Specified by:
get in interface iLightList
Parameters:
n -
Returns:
See Also:
iLightList.get(int)

getCount

public int getCount()
Description copied from interface: iLightList
Return the number of lights in this list.

Specified by:
getCount in interface iLightList
Returns:
See Also:
iLightList.getCount()

remove

public boolean remove(iLight obj)
Description copied from interface: iLightList
Remove a light.

Specified by:
remove in interface iLightList
Parameters:
obj -
Returns:
See Also:
iLightList.remove(crystalspace.jbind.interfaces.iengine.light.iLight)

remove

public boolean remove(int n)
Description copied from interface: iLightList
Remove the nth light.

Specified by:
remove in interface iLightList
Parameters:
n -
Returns:
See Also:
iLightList.remove(int)

removeAll

public void removeAll()
Description copied from interface: iLightList
Remove all lights.

Specified by:
removeAll in interface iLightList
See Also:
iLightList.removeAll()