|
|||||||||||
| 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.material.csMaterialList
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csMaterialList(iPointer nPointer)
|
|
| Method Summary | |
int |
add(iMaterialWrapper obj)
Add a material |
int |
find(iMaterialWrapper obj)
Find a material and return its index |
iMaterialWrapper |
findByName(java.lang.String Name)
Find a material by name |
iMaterialWrapper |
get(int n)
Return a material by index |
int |
getCount()
Return the number of materials 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()
|
iMaterialWrapper |
newMaterial(iMaterial material)
Create a new material |
iMaterialWrapper |
newMaterial(iMaterialHandle ith)
Create a engine wrapper for a pre-prepared iTextureHandle The handle will be IncRefed |
boolean |
remove(iMaterialWrapper obj)
Remove a material |
boolean |
remove(int n)
Remove the nth material |
void |
removeAll()
Remove all materials |
| 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 |
public csMaterialList(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBasepublic java.lang.String getName()
iBase
getName in interface iBasegetName in class csBasepublic static void initSCF()
public iMaterialWrapper findByName(java.lang.String Name)
iMaterialList
findByName in interface iMaterialListName -
public static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe()
public int add(iMaterialWrapper obj)
iMaterialList
add in interface iMaterialListobj -
iMaterialList.add(crystalspace.jbind.interfaces.iengine.material.iMaterialWrapper)public int find(iMaterialWrapper obj)
iMaterialList
find in interface iMaterialListobj -
iMaterialList.find(crystalspace.jbind.interfaces.iengine.material.iMaterialWrapper)public iMaterialWrapper get(int n)
iMaterialList
get in interface iMaterialListn -
iMaterialList.get(int)public int getCount()
iMaterialList
getCount in interface iMaterialListiMaterialList.getCount()public iMaterialWrapper newMaterial(iMaterial material)
iMaterialList
newMaterial in interface iMaterialListmaterial -
iMaterialList.newMaterial(crystalspace.jbind.interfaces.ivideo.material.iMaterial)public iMaterialWrapper newMaterial(iMaterialHandle ith)
iMaterialList
newMaterial in interface iMaterialListith -
iMaterialList.newMaterial(crystalspace.jbind.interfaces.ivideo.material.iMaterialHandle)public boolean remove(iMaterialWrapper obj)
iMaterialList
remove in interface iMaterialListobj -
iMaterialList.remove(crystalspace.jbind.interfaces.iengine.material.iMaterialWrapper)public boolean remove(int n)
iMaterialList
remove in interface iMaterialListn -
iMaterialList.remove(int)public void removeAll()
iMaterialList
removeAll in interface iMaterialListiMaterialList.removeAll()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||