|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.MovableObjectFactory
public class MovableObjectFactory
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
MovableObjectFactory(InstancePointer p)
This constructor is public for internal useage only! |
protected |
MovableObjectFactory(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
MovableObjectFactory(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
void |
_notifyTypeFlags(long flag)
Notify this factory of the type mask to apply. |
IMovableObject |
createInstance(java.lang.String name,
ISceneManager manager,
INameValuePairList params)
Create a new instance of the object. |
void |
delete()
Deletes the corresponding C++ object. |
void |
destroyInstance(IMovableObject obj)
Destroy an instance of the object |
void |
finalize()
|
java.lang.String |
getType()
|
long |
getTypeFlags()
Gets the type flag for this factory. |
boolean |
requestTypeFlags()
Does this factory require the allocation of a 'type flag', used to selectively include / exclude this type from scene queries? |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public MovableObjectFactory(InstancePointer p)
protected MovableObjectFactory(InstancePointer p,
boolean remote)
public MovableObjectFactory(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic java.lang.String getType()
getType in interface IMovableObjectFactory
public IMovableObject createInstance(java.lang.String name,
ISceneManager manager,
INameValuePairList params)
createInstance in interface IMovableObjectFactorypublic void destroyInstance(IMovableObject obj)
destroyInstance in interface IMovableObjectFactorypublic boolean requestTypeFlags()
requestTypeFlags in interface IMovableObjectFactorypublic void _notifyTypeFlags(long flag)
_notifyTypeFlags in interface IMovableObjectFactorypublic long getTypeFlags()
getTypeFlags in interface IMovableObjectFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||