|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.engine.light.csLightCallback
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csLightCallback(iPointer nPointer)
|
Method Summary | |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
onColorChange(iLight light,
csColor newcolor)
Light color will be changed. |
void |
onDestroy(iLight light)
Light will be destroyed. |
void |
onPositionChange(iLight light,
csVector3 newpos)
Light position will be changed. |
void |
onRadiusChange(iLight light,
float newradius)
Radius will be changed. |
void |
onSectorChange(iLight light,
iSector newsector)
Sector will be changed. |
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, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Constructor Detail |
public csLightCallback(iPointer nPointer)
nPointer
- Method Detail |
public int getVersion()
iBase
getVersion
in interface iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public void onColorChange(iLight light, csColor newcolor)
iLightCallback
onColorChange
in interface iLightCallback
light
- newcolor
- iLightCallback.onColorChange(crystalspace.jbind.interfaces.iengine.light.iLight, crystalspace.jbind.impl.csutil.cscolor.csColor)
public void onPositionChange(iLight light, csVector3 newpos)
iLightCallback
onPositionChange
in interface iLightCallback
light
- newpos
- iLightCallback.onPositionChange(crystalspace.jbind.interfaces.iengine.light.iLight, crystalspace.jbind.impl.csgeom.vector3.csVector3)
public void onSectorChange(iLight light, iSector newsector)
iLightCallback
onSectorChange
in interface iLightCallback
light
- newsector
- iLightCallback.onSectorChange(crystalspace.jbind.interfaces.iengine.light.iLight, crystalspace.jbind.interfaces.iengine.sector.iSector)
public void onRadiusChange(iLight light, float newradius)
iLightCallback
onRadiusChange
in interface iLightCallback
light
- newradius
- iLightCallback.onRadiusChange(crystalspace.jbind.interfaces.iengine.light.iLight, float)
public void onDestroy(iLight light)
iLightCallback
onDestroy
in interface iLightCallback
light
- iLightCallback.onDestroy(crystalspace.jbind.interfaces.iengine.light.iLight)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |