|
|||||||||
| Home >> All >> org >> dma >> ihm >> game >> calendar >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dma.ihm.game.calendar.events
Class GameCalendarDisplayGuiEvent

java.lang.Objectjava.util.EventObject
org.dma.ihm.game.calendar.events.GameCalendarEvent
org.dma.ihm.game.calendar.events.GameCalendarDisplayGuiEvent
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class GameCalendarDisplayGuiEvent
- extends GameCalendarEvent
GameCalendarDisplayGuiEvent Shows the desktop for a user.
| Field Summary | |
private java.lang.String |
message
The message shown to the user |
private org.dma.ihm.controller.data.User |
user
The user who want's to see the desktop |
| Fields inherited from class org.dma.ihm.game.calendar.events.GameCalendarEvent |
day, description, EVENT_TYPE_INTERNAL, EVENT_TYPE_PUBLIC, eventType |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
GameCalendarDisplayGuiEvent(java.lang.Object source,
java.util.Calendar day,
org.dma.ihm.controller.data.User user,
java.lang.String message)
Creates the event |
|
| Method Summary | |
java.lang.String |
getMessage()
Returns the message for the user |
org.dma.ihm.controller.data.User |
getUser()
Returns the user for the desktop |
boolean |
needsOnline()
Displays the gui |
void |
play()
Nothing to play, just the start the gui (done by the event listener) |
| Methods inherited from class org.dma.ihm.game.calendar.events.GameCalendarEvent |
_setToDone, compareTo, getDay, getDescription, getEventType, getFormatedDate, getSortValue, isDone |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
user
private org.dma.ihm.controller.data.User user
- The user who want's to see the desktop
message
private java.lang.String message
- The message shown to the user
| Constructor Detail |
GameCalendarDisplayGuiEvent
public GameCalendarDisplayGuiEvent(java.lang.Object source, java.util.Calendar day, org.dma.ihm.controller.data.User user, java.lang.String message)
- Creates the event
| Method Detail |
needsOnline
public boolean needsOnline()
- Displays the gui
- Overrides:
needsOnlinein classGameCalendarEvent
getUser
public org.dma.ihm.controller.data.User getUser()
- Returns the user for the desktop
getMessage
public java.lang.String getMessage()
- Returns the message for the user
play
public void play()
- Nothing to play, just the start the gui (done by the event listener)
- Overrides:
playin classGameCalendarEvent
|
|||||||||
| Home >> All >> org >> dma >> ihm >> game >> calendar >> [ events overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC