|
|||||||||||
| 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.sharevar.csSharedVariable
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Fields inherited from interface crystalspace.jbind.interfaces.iengine.sharevar.iSharedVariable |
SV_COLOR, SV_FLOAT, SV_UNKNOWN, SV_VECTOR |
| Constructor Summary | |
csSharedVariable(iPointer nPointer)
|
|
| Method Summary | |
void |
addListener(iSharedVariableListener listener)
Add a listener to variables. |
float |
get()
Get the floating point version of the var value. |
csColor |
getColor()
Get the csColor from the variable. |
java.lang.String |
getName()
Get the name of this variable. |
int |
getType()
Get the type currently stored by this variable. |
csVector3 |
getVector()
Get the vector from the variable. |
int |
getVersion()
Return the version of the interface |
protected boolean |
isNativePointerValidSafe(long pointer)
|
iObject |
queryObject()
Get the private object interface. |
void |
removeListener(iSharedVariableListener listener)
Remove a listener. |
void |
set(float val)
Set the variable to a floating pt value. |
void |
setColor(csColor col)
Set the variable to store a csColor. |
void |
setName(java.lang.String name)
iSharedVariables are referenced by name. |
void |
setVector(csVector3 v)
Set the variable to store a csVector3. |
| 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.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csSharedVariable(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBaseiBase.getVersion()public java.lang.String getName()
iSharedVariable
getName in interface iSharedVariablegetName in class csBaseiBase.getName()protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe in class csNativeObjectcsNativeObject.isNativePointerValidSafe(long)public void addListener(iSharedVariableListener listener)
iSharedVariable
addListener in interface iSharedVariablelistener - iSharedVariable.addListener(crystalspace.jbind.interfaces.iengine.sharevar.iSharedVariableListener)public float get()
iSharedVariable
get in interface iSharedVariableiSharedVariable.get()public csColor getColor()
iSharedVariable
getColor in interface iSharedVariableiSharedVariable.getColor()public int getType()
iSharedVariable
getType in interface iSharedVariableiSharedVariable.getType()public csVector3 getVector()
iSharedVariable
getVector in interface iSharedVariableiSharedVariable.getVector()public iObject queryObject()
iSharedVariable
queryObject in interface iSharedVariableiSharedVariable.queryObject()public void removeListener(iSharedVariableListener listener)
iSharedVariable
removeListener in interface iSharedVariablelistener - iSharedVariable.removeListener(crystalspace.jbind.interfaces.iengine.sharevar.iSharedVariableListener)public void set(float val)
iSharedVariable
set in interface iSharedVariableval - iSharedVariable.set(float)public void setColor(csColor col)
iSharedVariable
setColor in interface iSharedVariablecol - iSharedVariable.setColor(crystalspace.jbind.impl.csutil.cscolor.csColor)public void setName(java.lang.String name)
iSharedVariable
setName in interface iSharedVariablename - iSharedVariable.setName(java.lang.String)public void setVector(csVector3 v)
iSharedVariable
setVector in interface iSharedVariablev - iSharedVariable.setVector(crystalspace.jbind.impl.csgeom.vector3.csVector3)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||