org.tanager.application
Class CPausedSongEvent

java.lang.Object
  extended by org.tanager.application.CSongEvent
      extended by org.tanager.application.CPausedSongEvent

public class CPausedSongEvent
extends CSongEvent

This class represents a message that is passed from the Music Player to the UI, and it is used to communicate information about the song that is currently playing as part of the Observer/Observable pattern. The PausedSongEvent notifies observers that a song has been paused.

Version:
$Revision: 1.3.2.1 $
Author:
Bob Lavey

Constructor Summary
CPausedSongEvent(CSong song)
           This is the only constructor allowed for a CPausedSongEvent object.
 
Method Summary
 
Methods inherited from class org.tanager.application.CSongEvent
getSong
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPausedSongEvent

public CPausedSongEvent(CSong song)

This is the only constructor allowed for a CPausedSongEvent object. It initializes the object's associations and aggregations.

Semantics:

  1. initialize the base class with the given song

Parameters:
song - the paused song