Package org.xj3d.core.eventmodel
Interface NavigationManager
- All Known Implementing Classes:
DefaultNavigationManager
public interface NavigationManager
An abstract representation of a class that would be responsible for
performing Viewpoint management.
This interface represents a further abstracted view of viewpoint management
handling beyond the BrowserCore. This gives you
all the handling that is normally seen at a user interface level. You should
use one or the other, but not both as implementations of this class will
also interact with BrowserCore.
- Version:
- $Revision: 1.3 $
- Author:
- Alan Hudson
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a listener for viewpoint status messages.voidclear()Force clearing all currently managed nodes from this manager now.intFetch the index into the navigation type array of the actual type of navigation being used by the system.Get the list of active navigation modes for the current active navigation layer.Gets the viewpoints for the currently active layer.Get the current active navigation info node.voidRemove a listener for viewpoint status messages.voidsetActiveNavigationIndex(int idx) Set the active navigation index of the current list.voidsetErrorReporter(org.j3d.util.ErrorReporter reporter) Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion.voidSet the current bound navigation info to an arbitrary instance.voidshutdown()Shutdown the node manager now.
-
Method Details
-
shutdown
void shutdown()Shutdown the node manager now. If this is using any external resources it should remove those now as the entire application is about to die -
clear
void clear()Force clearing all currently managed nodes from this manager now. This is used to indicate that a new world is about to be loaded and everything should be cleaned out now. -
setErrorReporter
void setErrorReporter(org.j3d.util.ErrorReporter reporter) Register an error reporter with the engine so that any errors generated by the loading of script code can be reported in a nice, pretty fashion. Setting a value of null will clear the currently set reporter. If one is already set, the new value replaces the old.- Parameters:
reporter- The instance to use or null