org.ogre4j
Class ScriptToken

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.ScriptToken
All Implemented Interfaces:
IScriptToken, INativeObject

public class ScriptToken
extends NativeObject
implements IScriptToken


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  ScriptToken()
           
  ScriptToken(InstancePointer p)
          This constructor is public for internal useage only!
protected ScriptToken(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  ScriptToken(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 java.lang.String getfile()
           
 java.lang.String getlexeme()
           
 long getline()
           
 long gettype()
           
 void setfile(java.lang.String _jni_value_)
           
 void setlexeme(java.lang.String _jni_value_)
           
 void setline(long _jni_value_)
           
 void settype(long _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

ScriptToken

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


ScriptToken

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


ScriptToken

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

ScriptToken

public ScriptToken()
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

getlexeme

public java.lang.String getlexeme()
Specified by:
getlexeme in interface IScriptToken

setlexeme

public void setlexeme(java.lang.String _jni_value_)
Specified by:
setlexeme in interface IScriptToken

getfile

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

setfile

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

gettype

public long gettype()
Specified by:
gettype in interface IScriptToken

settype

public void settype(long _jni_value_)
Specified by:
settype in interface IScriptToken

getline

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

setline

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


Copyright © 2007 netAllied GmbH. All Rights Reserved.