org.tanager.application
Class CStateChangedEvent

java.lang.Object
  extended by org.tanager.application.CStateChangedEvent

public class CStateChangedEvent
extends java.lang.Object

This class represents a message that is passed from the Music Player to the UI, and it is used to communicate information about the state of the Music Player as part of the Observer/Observable pattern.

Version:
$Revision: 1.3.2.3 $
Author:
Bob Lavey

Field Summary
private  CStateEnum state_
           Represents the Music Player's state.
 
Constructor Summary
CStateChangedEvent(CStateEnum state)
           This is the only constructor allowed for a CStateChangedEvent object.
 
Method Summary
 CStateEnum getState()
           Poseidon-generated accessor method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

state_

private CStateEnum state_

Represents the Music Player's state.

Constructor Detail

CStateChangedEvent

public CStateChangedEvent(CStateEnum state)

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

Semantics:

  1. initialize state to the given state

Parameters:
state -
Method Detail

getState

public CStateEnum getState()

Poseidon-generated accessor method.

Returns: