org.ogre4j
Class ResourceGroupListener

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

public class ResourceGroupListener
extends NativeObject
implements IResourceGroupListener


Field Summary
 
Fields inherited from class org.xbig.base.NativeObject
deleted, object, remote
 
Constructor Summary
  ResourceGroupListener(InstancePointer p)
          This constructor is public for internal useage only!
protected ResourceGroupListener(InstancePointer p, boolean remote)
          Creates a Java wrapper object for an existing C++ object.
  ResourceGroupListener(WithoutNativeObject val)
          Allows creation of Java objects without C++ objects.
 
Method Summary
 void delete()
          Deletes the corresponding C++ object.
 void finalize()
           
 void resourceGroupLoadEnded(java.lang.String groupName)
          This event is fired when a resource group finished loading.
 void resourceGroupLoadStarted(java.lang.String groupName, int resourceCount)
          This event is fired when a resource group begins loading.
 void resourceGroupPrepareEnded(java.lang.String groupName)
          This event is fired when a resource group finished preparing.
 void resourceGroupPrepareStarted(java.lang.String groupName, int resourceCount)
          This event is fired when a resource group begins preparing.
 void resourceGroupScriptingEnded(java.lang.String groupName)
          This event is fired when a resource group finished parsing scripts.
 void resourceGroupScriptingStarted(java.lang.String groupName, int scriptCount)
          This event is fired when a resource group begins parsing scripts.
 void resourceLoadEnded()
          This event is fired when the resource has been loaded.
 void resourceLoadStarted(IResourcePtr resource)
          This event is fired when a declared resource is about to be loaded.
 void resourcePrepareEnded()
          This event is fired when the resource has been prepared.
 void resourcePrepareStarted(IResourcePtr resource)
          This event is fired when a declared resource is about to be prepared.
 void scriptParseEnded(java.lang.String scriptName, boolean skipped)
          This event is fired when the script has been fully parsed.
 void scriptParseStarted(java.lang.String scriptName, BooleanPointer skipThisScript)
          This event is fired when a script is about to be parsed.
 void worldGeometryPrepareStageEnded()
          This event is fired when a stage of preparing linked world geometry has been completed.
 void worldGeometryPrepareStageStarted(java.lang.String description)
          This event is fired when a stage of preparing linked world geometry is about to start.
 void worldGeometryStageEnded()
          This event is fired when a stage of loading linked world geometry has been completed.
 void worldGeometryStageStarted(java.lang.String description)
          This event is fired when a stage of loading linked world geometry is about to start.
 
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

ResourceGroupListener

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


ResourceGroupListener

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


ResourceGroupListener

public ResourceGroupListener(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

resourceGroupScriptingStarted

public void resourceGroupScriptingStarted(java.lang.String groupName,
                                          int scriptCount)
This event is fired when a resource group begins parsing scripts.

Specified by:
resourceGroupScriptingStarted in interface IResourceGroupListener

scriptParseStarted

public void scriptParseStarted(java.lang.String scriptName,
                               BooleanPointer skipThisScript)
This event is fired when a script is about to be parsed.

Specified by:
scriptParseStarted in interface IResourceGroupListener

scriptParseEnded

public void scriptParseEnded(java.lang.String scriptName,
                             boolean skipped)
This event is fired when the script has been fully parsed.

Specified by:
scriptParseEnded in interface IResourceGroupListener

resourceGroupScriptingEnded

public void resourceGroupScriptingEnded(java.lang.String groupName)
This event is fired when a resource group finished parsing scripts.

Specified by:
resourceGroupScriptingEnded in interface IResourceGroupListener

resourceGroupPrepareStarted

public void resourceGroupPrepareStarted(java.lang.String groupName,
                                        int resourceCount)
This event is fired when a resource group begins preparing.

Specified by:
resourceGroupPrepareStarted in interface IResourceGroupListener

resourcePrepareStarted

public void resourcePrepareStarted(IResourcePtr resource)
This event is fired when a declared resource is about to be prepared.

Specified by:
resourcePrepareStarted in interface IResourceGroupListener

resourcePrepareEnded

public void resourcePrepareEnded()
This event is fired when the resource has been prepared.

Specified by:
resourcePrepareEnded in interface IResourceGroupListener

worldGeometryPrepareStageStarted

public void worldGeometryPrepareStageStarted(java.lang.String description)
This event is fired when a stage of preparing linked world geometry is about to start. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.

Specified by:
worldGeometryPrepareStageStarted in interface IResourceGroupListener

worldGeometryPrepareStageEnded

public void worldGeometryPrepareStageEnded()
This event is fired when a stage of preparing linked world geometry has been completed. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.

Specified by:
worldGeometryPrepareStageEnded in interface IResourceGroupListener

resourceGroupPrepareEnded

public void resourceGroupPrepareEnded(java.lang.String groupName)
This event is fired when a resource group finished preparing.

Specified by:
resourceGroupPrepareEnded in interface IResourceGroupListener

resourceGroupLoadStarted

public void resourceGroupLoadStarted(java.lang.String groupName,
                                     int resourceCount)
This event is fired when a resource group begins loading.

Specified by:
resourceGroupLoadStarted in interface IResourceGroupListener

resourceLoadStarted

public void resourceLoadStarted(IResourcePtr resource)
This event is fired when a declared resource is about to be loaded.

Specified by:
resourceLoadStarted in interface IResourceGroupListener

resourceLoadEnded

public void resourceLoadEnded()
This event is fired when the resource has been loaded.

Specified by:
resourceLoadEnded in interface IResourceGroupListener

worldGeometryStageStarted

public void worldGeometryStageStarted(java.lang.String description)
This event is fired when a stage of loading linked world geometry is about to start. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.

Specified by:
worldGeometryStageStarted in interface IResourceGroupListener

worldGeometryStageEnded

public void worldGeometryStageEnded()
This event is fired when a stage of loading linked world geometry has been completed. The number of stages required will have been included in the resourceCount passed in resourceGroupLoadStarted.

Specified by:
worldGeometryStageEnded in interface IResourceGroupListener

resourceGroupLoadEnded

public void resourceGroupLoadEnded(java.lang.String groupName)
This event is fired when a resource group finished loading.

Specified by:
resourceGroupLoadEnded in interface IResourceGroupListener


Copyright © 2007 netAllied GmbH. All Rights Reserved.