|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tanager.application.CStateChangedEvent
public class CStateChangedEvent
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.
| 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 |
|---|
private CStateEnum state_
Represents the Music Player's state.
| Constructor Detail |
|---|
public CStateChangedEvent(CStateEnum state)
This is the only constructor allowed for a
CStateChangedEvent object.
It initializes the object's associations
and aggregations.
Semantics:
state - | Method Detail |
|---|
public CStateEnum getState()
Poseidon-generated accessor method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||