org.ogre4j
Class AbstractNode

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.AbstractNode
All Implemented Interfaces:
IAbstractNode, IAllocatedObject<IScriptingAllocPolicy>, IScriptingAllocatedObject, INativeObject

public class AbstractNode
extends NativeObject
implements IAbstractNode


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  AbstractNode(InstancePointer p)
          This constructor is public for internal useage only!
protected AbstractNode(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  AbstractNode(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 IAbstractNode clone()
           
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void getcontext(IAny returnValue)
           
 java.lang.String getfile()
           
 long getline()
           
 IAbstractNode getparent()
           
 AbstractNodeType gettype()
           
 java.lang.String getValue()
           
 void setcontext(IAny _jni_value_)
           
 void setfile(java.lang.String _jni_value_)
           
 void setline(long _jni_value_)
           
 void setparent(IAbstractNode _jni_value_)
           
 void settype(AbstractNodeType _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
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xbig.base.INativeObject
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Constructor Detail

AbstractNode

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


AbstractNode

protected AbstractNode(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.


AbstractNode

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()
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

clone

public IAbstractNode clone()
Specified by:
clone in interface IAbstractNode
Overrides:
clone in class java.lang.Object

getValue

public java.lang.String getValue()
Specified by:
getValue in interface IAbstractNode

getfile

public java.lang.String getfile()
Specified by:
getfile in interface IAbstractNode

setfile

public void setfile(java.lang.String _jni_value_)
Specified by:
setfile in interface IAbstractNode

getline

public long getline()
Specified by:
getline in interface IAbstractNode

setline

public void setline(long _jni_value_)
Specified by:
setline in interface IAbstractNode

gettype

public AbstractNodeType gettype()
Specified by:
gettype in interface IAbstractNode

settype

public void settype(AbstractNodeType _jni_value_)
Specified by:
settype in interface IAbstractNode

getparent

public IAbstractNode getparent()
Specified by:
getparent in interface IAbstractNode

setparent

public void setparent(IAbstractNode _jni_value_)
Specified by:
setparent in interface IAbstractNode

getcontext

public void getcontext(IAny returnValue)
Specified by:
getcontext in interface IAbstractNode

setcontext

public void setcontext(IAny _jni_value_)
Specified by:
setcontext in interface IAbstractNode


Copyright © 2007 netAllied GmbH. All Rights Reserved.