org.iso.mpeg.mpegj.scene
Interface SceneListener


public interface SceneListener

An interface that allows monitoring of changes to a BIFS scene graph.


Inner Class Summary
static interface SceneListener.Message
          The message numbers used in the notify method.
 
Method Summary
 void notify(int whatHappened, Scene newScene)
          Called by the scene manager when the BIFS scene has been changed.
 

Method Detail

notify

public void notify(int whatHappened,
                   Scene newScene)
Called by the scene manager when the BIFS scene has been changed.
Parameters:
whatHappened - contains the message number that indicates the change.
newScene - contains the new Scene object when appropriate.