org.ogre4j
Class ObjectAbstractNode

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

public class ObjectAbstractNode
extends NativeObject
implements IObjectAbstractNode


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  ObjectAbstractNode(IAbstractNode ptr)
           
  ObjectAbstractNode(InstancePointer p)
          This constructor is public for internal useage only!
protected ObjectAbstractNode(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  ObjectAbstractNode(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void addVariable(java.lang.String name)
           
 IAbstractNode clone()
           
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 boolean getabstract()
           
 java.lang.String getbase()
           
 void getchildren(IAbstractNodeList returnValue)
           
 java.lang.String getcls()
           
 void getcontext(IAny returnValue)
           
 java.lang.String getfile()
           
 long getid()
           
 long getline()
           
 java.lang.String getname()
           
 void getoverrides(IAbstractNodeList returnValue)
           
 IAbstractNode getparent()
           
 AbstractNodeType gettype()
           
 java.lang.String getValue()
           
 void getvalues(IAbstractNodeList returnValue)
           
 void getVariable(Ipair<java.lang.Boolean,java.lang.String> returnValue, java.lang.String name)
           
 void getVariables(Imap<java.lang.String,java.lang.String> returnValue)
           
 void setabstract(boolean _jni_value_)
           
 void setbase(java.lang.String _jni_value_)
           
 void setchildren(IAbstractNodeList _jni_value_)
           
 void setcls(java.lang.String _jni_value_)
           
 void setcontext(IAny _jni_value_)
           
 void setfile(java.lang.String _jni_value_)
           
 void setid(long _jni_value_)
           
 void setline(long _jni_value_)
           
 void setname(java.lang.String _jni_value_)
           
 void setoverrides(IAbstractNodeList _jni_value_)
           
 void setparent(IAbstractNode _jni_value_)
           
 void settype(AbstractNodeType _jni_value_)
           
 void setvalues(IAbstractNodeList _jni_value_)
           
 void setVariable(java.lang.String name, java.lang.String 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

ObjectAbstractNode

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


ObjectAbstractNode

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


ObjectAbstractNode

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

ObjectAbstractNode

public ObjectAbstractNode(IAbstractNode ptr)
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
Specified by:
clone in interface IObjectAbstractNode
Overrides:
clone in class java.lang.Object

getValue

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

addVariable

public void addVariable(java.lang.String name)
Specified by:
addVariable in interface IObjectAbstractNode

setVariable

public void setVariable(java.lang.String name,
                        java.lang.String value)
Specified by:
setVariable in interface IObjectAbstractNode

getVariable

public void getVariable(Ipair<java.lang.Boolean,java.lang.String> returnValue,
                        java.lang.String name)
Specified by:
getVariable in interface IObjectAbstractNode

getVariables

public void getVariables(Imap<java.lang.String,java.lang.String> returnValue)
Specified by:
getVariables in interface IObjectAbstractNode

getname

public java.lang.String getname()
Specified by:
getname in interface IObjectAbstractNode

setname

public void setname(java.lang.String _jni_value_)
Specified by:
setname in interface IObjectAbstractNode

getcls

public java.lang.String getcls()
Specified by:
getcls in interface IObjectAbstractNode

setcls

public void setcls(java.lang.String _jni_value_)
Specified by:
setcls in interface IObjectAbstractNode

getbase

public java.lang.String getbase()
Specified by:
getbase in interface IObjectAbstractNode

setbase

public void setbase(java.lang.String _jni_value_)
Specified by:
setbase in interface IObjectAbstractNode

getid

public long getid()
Specified by:
getid in interface IObjectAbstractNode

setid

public void setid(long _jni_value_)
Specified by:
setid in interface IObjectAbstractNode

getabstract

public boolean getabstract()
Specified by:
getabstract in interface IObjectAbstractNode

setabstract

public void setabstract(boolean _jni_value_)
Specified by:
setabstract in interface IObjectAbstractNode

getchildren

public void getchildren(IAbstractNodeList returnValue)
Specified by:
getchildren in interface IObjectAbstractNode

setchildren

public void setchildren(IAbstractNodeList _jni_value_)
Specified by:
setchildren in interface IObjectAbstractNode

getvalues

public void getvalues(IAbstractNodeList returnValue)
Specified by:
getvalues in interface IObjectAbstractNode

setvalues

public void setvalues(IAbstractNodeList _jni_value_)
Specified by:
setvalues in interface IObjectAbstractNode

getoverrides

public void getoverrides(IAbstractNodeList returnValue)
Specified by:
getoverrides in interface IObjectAbstractNode

setoverrides

public void setoverrides(IAbstractNodeList _jni_value_)
Specified by:
setoverrides in interface IObjectAbstractNode

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.