org.ogre4j
Class RenderQueueInvocationSequence

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.RenderQueueInvocationSequence
All Implemented Interfaces:
IAllocatedObject<ISceneCtlAllocPolicy>, IRenderQueueInvocationSequence, ISceneCtlAllocatedObject, INativeObject

public class RenderQueueInvocationSequence
extends NativeObject
implements IRenderQueueInvocationSequence


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  RenderQueueInvocationSequence(InstancePointer p)
          This constructor is public for internal useage only!
protected RenderQueueInvocationSequence(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  RenderQueueInvocationSequence(java.lang.String name)
           
  RenderQueueInvocationSequence(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void add(IRenderQueueInvocation i)
          Add a custom invocation to the sequence.
 IRenderQueueInvocation add(short renderQueueGroupID, java.lang.String invocationName)
          Add a standard invocation to the sequence.
 void clear()
          Clear and delete all invocations in this sequence.
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 IRenderQueueInvocation get(int index)
          Gets the details of an invocation at a given index.
 java.lang.String getName()
          Get the name of this sequence.
 void iterator(IRenderQueueInvocationIterator returnValue)
          Get an iterator over the invocations.
 void remove(int index)
          Removes (and deletes) an invocation by index.
 int size()
          Get the number of invocations in this sequence.
 
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

RenderQueueInvocationSequence

public RenderQueueInvocationSequence(InstancePointer p)
This constructor is public for internal useage only! Do not use it!


RenderQueueInvocationSequence

protected RenderQueueInvocationSequence(InstancePointer p,
                                        boolean remote)
Creates a Java wrapper object for an existing C++ object. If remote is set to 'true' this object cannot be deleted in Java.


RenderQueueInvocationSequence

public RenderQueueInvocationSequence(WithoutNativeObject val)
Allows creation of Java objects without C++ objects.

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

RenderQueueInvocationSequence

public RenderQueueInvocationSequence(java.lang.String name)
Method Detail

delete

public void delete()
Description copied from interface: INativeObject
Deletes the corresponding C++ object.

Subclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!

Specified by:
delete in interface INativeObject
Specified by:
delete in class NativeObject
See Also:
#remote

finalize

public void finalize()
Overrides:
finalize in class NativeObject

getName

public java.lang.String getName()
Get the name of this sequence.

Specified by:
getName in interface IRenderQueueInvocationSequence

add

public IRenderQueueInvocation add(short renderQueueGroupID,
                                  java.lang.String invocationName)
Add a standard invocation to the sequence.

Specified by:
add in interface IRenderQueueInvocationSequence

add

public void add(IRenderQueueInvocation i)
Add a custom invocation to the sequence.

Specified by:
add in interface IRenderQueueInvocationSequence

size

public int size()
Get the number of invocations in this sequence.

Specified by:
size in interface IRenderQueueInvocationSequence

clear

public void clear()
Clear and delete all invocations in this sequence.

Specified by:
clear in interface IRenderQueueInvocationSequence

get

public IRenderQueueInvocation get(int index)
Gets the details of an invocation at a given index.

Specified by:
get in interface IRenderQueueInvocationSequence

remove

public void remove(int index)
Removes (and deletes) an invocation by index.

Specified by:
remove in interface IRenderQueueInvocationSequence

iterator

public void iterator(IRenderQueueInvocationIterator returnValue)
Get an iterator over the invocations.

Specified by:
iterator in interface IRenderQueueInvocationSequence


Copyright © 2007 netAllied GmbH. All Rights Reserved.