crystalspace.jbind.impl.mesh.thing
Class csPolygonHandle

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csutil.scf.csBase
          extended bycrystalspace.jbind.impl.mesh.thing.csPolygonHandle
All Implemented Interfaces:
iBase, iPointer, iPolygonHandle

public class csPolygonHandle
extends csBase
implements iPolygonHandle

Author:
Quentin Anciaux

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csPolygonHandle(iPointer nPointer)
           
 
Method Summary
 int getIndex()
          Get the polygon index which this polygon handle represents.
 iMeshObject getMeshObject()
          Get the mesh object of this polygon.
 iMeshObjectFactory getMeshObjectFactory()
          Get the mesh object factory for this polygon.
 java.lang.String getName()
          Return the name of the interface
 iThingFactoryState getThingFactoryState()
          Get the factory state for this polygon.
 iThingState getThingState()
          Get the instance of this polygon.
 int getVersion()
          Return the version of the interface
protected  boolean isNativePointerValidSafe(long pointer)
           
 
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

csPolygonHandle

public csPolygonHandle(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
See Also:
iBase.getVersion()

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
See Also:
iBase.getName()

isNativePointerValidSafe

protected boolean isNativePointerValidSafe(long pointer)
Specified by:
isNativePointerValidSafe in class csNativeObject
See Also:
csNativeObject.isNativePointerValidSafe(long)

getIndex

public int getIndex()
Description copied from interface: iPolygonHandle
Get the polygon index which this polygon handle represents.

Specified by:
getIndex in interface iPolygonHandle
Returns:
See Also:
iPolygonHandle.getIndex()

getMeshObject

public iMeshObject getMeshObject()
Description copied from interface: iPolygonHandle
Get the mesh object of this polygon. This can be 0 if this polygon handle was created from a factory or if the instance was removed.

Specified by:
getMeshObject in interface iPolygonHandle
Returns:
See Also:
iPolygonHandle.getMeshObject()

getMeshObjectFactory

public iMeshObjectFactory getMeshObjectFactory()
Description copied from interface: iPolygonHandle
Get the mesh object factory for this polygon. Or 0 if the factory is removed.

Specified by:
getMeshObjectFactory in interface iPolygonHandle
Returns:
See Also:
iPolygonHandle.getMeshObjectFactory()

getThingFactoryState

public iThingFactoryState getThingFactoryState()
Description copied from interface: iPolygonHandle
Get the factory state for this polygon. Or 0 if the factory is removed.

Specified by:
getThingFactoryState in interface iPolygonHandle
Returns:
See Also:
iPolygonHandle.getThingFactoryState()

getThingState

public iThingState getThingState()
Description copied from interface: iPolygonHandle
Get the instance of this polygon. This can be 0 if this polygon handle was created from a factory or if the instance was removed.

Specified by:
getThingState in interface iPolygonHandle
Returns:
See Also:
iPolygonHandle.getThingState()