app
Class AbstractMultimediaApp

java.lang.Object
  extended by app.AbstractMultimediaApp
All Implemented Interfaces:
MultimediaApp

public abstract class AbstractMultimediaApp
extends java.lang.Object
implements MultimediaApp

An abstract implementation of the MultimediaApp interface that includes empty implementations of the "transition" methods

See Also:
"The Design and Implementation of Multimedia Software © 2011"

Field Summary
protected  MultimediaRootPaneContainer rootPaneContainer
           
 
Constructor Summary
AbstractMultimediaApp()
           
 
Method Summary
 void destroy()
          Called to indicate that this MultimediaApp should destroy any resources that it has allocated
 void init()
          Called to indicate that this MultimediaApp has been loaded
 void setMultimediaRootPaneContainer(MultimediaRootPaneContainer container)
          Set the MultimediaRootPaneContainer for the MultimediaApp In most cases, the MultimediaRootPaneContainer will be either a MultimediaApplication or a MultimediaApplet
 void start()
          Called to indicate that this MultimediaApp has been started
 void stop()
          Called to indicate that this MultimediaApp has been stopped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootPaneContainer

protected MultimediaRootPaneContainer rootPaneContainer
Constructor Detail

AbstractMultimediaApp

public AbstractMultimediaApp()
Method Detail

destroy

public void destroy()
Called to indicate that this MultimediaApp should destroy any resources that it has allocated

Specified by:
destroy in interface MultimediaApp

init

public void init()
Called to indicate that this MultimediaApp has been loaded

Specified by:
init in interface MultimediaApp

setMultimediaRootPaneContainer

public void setMultimediaRootPaneContainer(MultimediaRootPaneContainer container)
Set the MultimediaRootPaneContainer for the MultimediaApp In most cases, the MultimediaRootPaneContainer will be either a MultimediaApplication or a MultimediaApplet

Specified by:
setMultimediaRootPaneContainer in interface MultimediaApp
Parameters:
container - The RootPaneContainer for this MultimediaApp

start

public void start()
Called to indicate that this MultimediaApp has been started

Specified by:
start in interface MultimediaApp

stop

public void stop()
Called to indicate that this MultimediaApp has been stopped

Specified by:
stop in interface MultimediaApp


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers