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