org.ogre4j
Class Node.Listener

java.lang.Object
  extended by org.xbig.base.NativeObject
      extended by org.ogre4j.Node.Listener
All Implemented Interfaces:
INode.IListener, INativeObject
Enclosing class:
Node

public static class Node.Listener
extends NativeObject
implements INode.IListener


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  Node.Listener()
           
  Node.Listener(InstancePointer p)
          This constructor is public for internal useage only!
protected Node.Listener(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  Node.Listener(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void nodeAttached(INode a1)
          has been attached to a parent
 void nodeDestroyed(INode a1)
          is being destroyed
 void nodeDetached(INode a1)
          has been detached from a parent
 void nodeUpdated(INode a1)
          Called when a node gets updated.
 
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

Node.Listener

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


Node.Listener

protected Node.Listener(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.


Node.Listener

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

See Also:
WithoutNativeObject, INativeObject.disconnectFromNativeObject()

Node.Listener

public Node.Listener()
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

nodeUpdated

public void nodeUpdated(INode a1)
Called when a node gets updated.

Specified by:
nodeUpdated in interface INode.IListener

nodeDestroyed

public void nodeDestroyed(INode a1)
is being destroyed

Specified by:
nodeDestroyed in interface INode.IListener

nodeAttached

public void nodeAttached(INode a1)
has been attached to a parent

Specified by:
nodeAttached in interface INode.IListener

nodeDetached

public void nodeDetached(INode a1)
has been detached from a parent

Specified by:
nodeDetached in interface INode.IListener


Copyright © 2007 netAllied GmbH. All Rights Reserved.