next up previous contents index
Next: MemoSetLocalApplicationModel Up: MemoSetLauncher Previous: MemoSetLauncher   Contents   Index

Subsections

methods

class

accessing

localServerIsRunning
returns a Boolean if the Coast Mediator is started.

interface specs

windowSpecs
specifies the userinterface for the launcher.

interface opening

open
opens a new launcher instance.

resources

mediatorLabel
returns the string for the 'Start/Stop server' Button depending on localServerIsRunning.
memoSetLogo
contains the background logo for the launcher
menu
calls MemoSetMenu
windowIcon
contains the windowIcon
windowIconMask
contains the corresponding mask for the windowIcon

instance

accessing

appClient
starts COAST, provides the MemoSetClient with the correct host and returns it
host
returns an proved value of servername
inverseColor: aColorValue
returns a the inverse color for aColorValue
randomColor
returns a randomly selected ColorValue

actions

all methods are called if the corresponding button or menuitem is activated.
help
opens the help file
joinGame
opens a SelectionDialog with the existing volumes and calls startGame: with the selected volume.
mediator
starts or stops the CoastMediator depending on the state of it.
newGame
opens a Dialog, asks for a new game name and then calls startGame:
playerColor
opens a ColorSelectionDialog and sets the color at the special volume '#users', changes the color of the colorbutton, too.
stopGame
exits the current volume
visitAragon
opens a browser with the aragon website by calling the method at MemoSetMenu class
visitCoast
opens a browser with the Coast website by calling the method at MemoSetMenu class
visitMemoSet
opens a browser with the MemoSet website by calling the method at MemoSetMenu class

aspects

server
a simple access to the valueholder for server
username
a simple access to the valueholder for username

dialogs

dialogAboutMemoSet
shows a short dialog about MemoSet.
dialogChooseGameType
ask which type of cards (subclasses of MemoSetCard) shoud be used
dialogChooseNewVolume
choose a new volume
dialogChooseVolumeFrom: volumes
choose a volume from the given list
dialogNewPassForUser: aUsername
ask for new password
dialogPassNoMatch
show a warning that the passwords don't match.
dialogRevalidatePassForUser: aUsername
let the user reenter his new password
dialogValidatePassForUser: aUsername
ask for the user's password
dialogWrongPass
tell the user his password was wrong

events

noticeOfWindowClose: t1
stops the MemoSetClient and the CoastMediator if the MemoSetLauncher window is closed.
serverChanged
whenever the server is changed, the username InputField should be cleared.
usernameChanged
if the username changes we have to update the usercolor. We read it at the special volume '#users'.
validateUsername: anInputBox
we have to validate the user here. There are two possibilities:
the user already exists
- then we have to check his password and accept or decline the change
the user does not exist
- then we first have to ask him for a password, check if he remembers and did no typo and then create a new user.

utility

setColorButtonColor: aColorValue
changes the color of the colorbutton to aColorValue
startCoast
starts the MemoSetClient if he is not already running
startGame: aName
enters the specified game
startGame: aName ofType: aMemoSetCardSubclass
creates the game with the specified type of cards (subclasses of MemoSetCard)
startMediator
starts the COAST mediator
stopMediator
stops the COAST mediator
next up previous contents index
Next: MemoSetLocalApplicationModel Up: MemoSetLauncher Previous: MemoSetLauncher   Contents   Index
spax 2003-04-28