org.tanager.ui
Class CUIStateSkippingToPreviousSong

java.lang.Object
  extended by org.tanager.ui.CUIState
      extended by org.tanager.ui.CUIStateSkippingToPreviousSong

public class CUIStateSkippingToPreviousSong
extends CUIState

This class encapsulates the handling of the Tanager UI events while in the SkippingToPreviousSong state.

Version:
$Revision: 1.1.2.3 $
Author:
Bob Lavey

Field Summary
 
Fields inherited from class org.tanager.ui.CUIState
pauseIcon_, playIcon_
 
Constructor Summary
protected CUIStateSkippingToPreviousSong()
           This is the only contructor allowed for a CUIStateSkippingToPreviousSong object.
 
Method Summary
 void doEntryActions()
           This method is used to process the state's entry actions.
 void playingSong(CSong song)
           This method handles an playingSong() event.
 
Methods inherited from class org.tanager.ui.CUIState
debugStateEntry, downButtonPressed, getMiddleButtonIcon, getTheButtonPane, getTheContext, getTheUIController, idle, initialize, leftButtonPressed, middleButtonPressed, pausedSong, rightButtonPressed, stopButtonPressed, upButtonPressed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CUIStateSkippingToPreviousSong

protected CUIStateSkippingToPreviousSong()

This is the only contructor allowed for a CUIStateSkippingToPreviousSong object.

Method Detail

doEntryActions

public void doEntryActions()

This method is used to process the state's entry actions.

Semantics:
  1. call the UI Controller's skipToPreviousSong() method

Overrides:
doEntryActions in class CUIState

playingSong

public void playingSong(CSong song)

This method handles an playingSong() event.

Semantics:
  1. transition to the Playing state by instantiating a new CUIStatePlaying object and setting the context's state to the new object

Overrides:
playingSong in class CUIState
Parameters:
song - the playing song