org.ogre4j
Class BillboardChain.ChainSegment

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.BillboardChain.ChainSegment
All Implemented Interfaces:
IBillboardChain.IChainSegment, INativeObject
Enclosing class:
BillboardChain

protected static class BillboardChain.ChainSegment
extends NativeObject
implements IBillboardChain.IChainSegment


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  BillboardChain.ChainSegment()
           
  BillboardChain.ChainSegment(InstancePointer p)
          This constructor is public for internal useage only!
protected BillboardChain.ChainSegment(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  BillboardChain.ChainSegment(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 int gethead()
           
 int getstart()
           
 int gettail()
           
 void sethead(int _jni_value_)
           
 void setstart(int _jni_value_)
           
 void settail(int _jni_value_)
           
 
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

BillboardChain.ChainSegment

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


BillboardChain.ChainSegment

protected BillboardChain.ChainSegment(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.


BillboardChain.ChainSegment

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

BillboardChain.ChainSegment

public BillboardChain.ChainSegment()
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

getstart

public int getstart()
Specified by:
getstart in interface IBillboardChain.IChainSegment

setstart

public void setstart(int _jni_value_)
Specified by:
setstart in interface IBillboardChain.IChainSegment

gethead

public int gethead()
Specified by:
gethead in interface IBillboardChain.IChainSegment

sethead

public void sethead(int _jni_value_)
Specified by:
sethead in interface IBillboardChain.IChainSegment

gettail

public int gettail()
Specified by:
gettail in interface IBillboardChain.IChainSegment

settail

public void settail(int _jni_value_)
Specified by:
settail in interface IBillboardChain.IChainSegment


Copyright © 2007 netAllied GmbH. All Rights Reserved.