Xj3D VRML/X3D Code API

org.web3d.vrml.nodes
Interface NavigationInfoChangeListener

All Known Implementing Classes:
DefaultUserInputHandler, DefaultUserInputHandler

public interface NavigationInfoChangeListener

A listener for changes in the values of a VRMLNavigationInfo node.

Using a specific interface rather than force the interested subsystems to deal with field processing logic.

Version:
$Revision: 1.2 $
Author:
Brad Vender

Method Summary
 void notifyAvatarSizeChanged(float[] size, int dimensions)
          Notification that the avatar size has changed on the current NavigationInfo node.
 void notifyNavigationModesChanged(java.lang.String[] newModes, int numModes)
          Notification that the navigation modes allowed has changed on the current NavigationInfo node.
 void notifyNavigationSpeedChanged(float newSpeed)
          Notification that the navigation speed has changed on the current NavigationInfo node.
 

Method Detail

notifyNavigationModesChanged

public void notifyNavigationModesChanged(java.lang.String[] newModes,
                                         int numModes)
Notification that the navigation modes allowed has changed on the current NavigationInfo node.

Parameters:
newModes - The new allowed navigation modes
numModes - number of valid modes in array

notifyAvatarSizeChanged

public void notifyAvatarSizeChanged(float[] size,
                                    int dimensions)
Notification that the avatar size has changed on the current NavigationInfo node.

Parameters:
size - The size parameters for the avatar
dimensions - The number of valid avatar dimensions

notifyNavigationSpeedChanged

public void notifyNavigationSpeedChanged(float newSpeed)
Notification that the navigation speed has changed on the current NavigationInfo node.

Parameters:
newSpeed - The new navigation speed.

Xj3D VRML/X3D Code API

Copyright © 2001 - 2005 Web3D Consortium