|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tanager.ui.CUIState
org.tanager.ui.CUIStateBeginPausing
public class CUIStateBeginPausing
This class encapsulates the handling of the Tanager UI events while in the BeginPausing state.
| Field Summary |
|---|
| Fields inherited from class org.tanager.ui.CUIState |
|---|
pauseIcon_, playIcon_ |
| Constructor Summary | |
|---|---|
protected |
CUIStateBeginPausing()
This is the only contructor allowed for a CUIStateBeginPausing object. |
| Method Summary | |
|---|---|
void |
doEntryActions()
This method is used to process the state's entry actions. |
javax.swing.Icon |
getMiddleButtonIcon()
This method returns the pause icon while in the BeginPlaying state. |
void |
pausedSong(CSong song)
This method handles a pausedSong() event. |
| Methods inherited from class org.tanager.ui.CUIState |
|---|
debugStateEntry, downButtonPressed, getTheButtonPane, getTheContext, getTheUIController, idle, initialize, leftButtonPressed, middleButtonPressed, playingSong, rightButtonPressed, stopButtonPressed, upButtonPressed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CUIStateBeginPausing()
This is the only contructor allowed for a
CUIStateBeginPausing object.
| Method Detail |
|---|
public void doEntryActions()
This method is used to process the state's entry actions.
Semantics:pause() method
doEntryActions in class CUIStatepublic javax.swing.Icon getMiddleButtonIcon()
This method returns the pause icon while in the BeginPlaying state.
getMiddleButtonIcon in class CUIStatepublic void pausedSong(CSong song)
This method handles a
pausedSong() event.
CUIStatePaused object and
setting the context's state to the new
object
pausedSong in class CUIStatesong - the playing song
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||