A B C D E F G H I K L M O P R S T U V W

S

ScrabbleBuilder - class ScrabbleBuilder.
This class builds the board and loads the letter set from the information loaded by Dictionary
ScrabbleBuilder() - Constructor for class ScrabbleBuilder
ScrabbleBuilder, when invoked, collects the list of letters loaded by Dictionary.
ScrabbleProtocol - class ScrabbleProtocol.
Class to handle message transaction in the remote game.
ScrabbleProtocol() - Constructor for class ScrabbleProtocol
 
Server - class Server.
This class creates a server from the Scrabble lobby.
Server() - Constructor for class Server
 
ServerThread - class ServerThread.
This class handles ServerThread startup, operations and shutdown.
ServerThread(Socket, ServerThread[], String, int, int, String[]) - Constructor for class ServerThread
Creates a new ServerThread
Square - class Square.
This class builds and controls a Square of the Board.
Square() - Constructor for class Square
 
Square(int, int) - Constructor for class Square
 
Square(Letter) - Constructor for class Square
 
SublistIterator - class SublistIterator.
 
SublistIterator(List) - Constructor for class SublistIterator
 
saveDataToFile() - Method in class BuildDict
Method to save the dictionary changes to file.
saveDataToFile() - Method in class LocalScrabble
Saves game history to .XML file.
saveDataToFile() - Method in class RemoteScrabble
Saves game history to .XML file.
sendDictionary(String) - Method in class ServerThread
Streams a dictionary to the client, so that the client may receive the dictionary that the server wishes to use.
setAscii(char) - Method in class Letter
 
setEndX(int) - Method in class Word
 
setEndY(int) - Method in class Word
 
setGameInProgress(boolean) - Method in class Server
Sets whether the scrabble game is in progress or not.
setIsLockedOut() - Method in class Player
 
setLetter(int, Letter) - Method in class Rack
Sets the Letter at i on the Rack.
setLetter(Letter) - Method in class Square
 
setLetters(List) - Method in class Bag
Sets the current bag to be the input List letters.
setLetters(List) - Method in class Word
 
setListening(boolean) - Method in class Server
Sets whether the server is listening for new client connections
setMessageLine(String) - Method in class LocalScrabble
Sets the message line's text.
setMessageLine(String) - Method in class RemoteScrabble
Sets the message line's text.
setMessageOutput(int, String) - Method in class Client
Method to write to the ServerThread.
setNames(int, String) - Method in class Client
Sets the name locally of a specific player in the game.
setPremium(int) - Method in class Word
 
setRack(Rack) - Method in class Game
 
setRack(Rack) - Method in class Player
 
setRandomTurn() - Method in class Game
 
setScore(int) - Method in class Move
 
setStartX(int) - Method in class Word
 
setStartY(int) - Method in class Word
 
setSymbol(char) - Method in class Letter
 
setX(int) - Method in class Square
 
setY(int) - Method in class Square
 
skipCounterIncreaseAndTest(int) - Method in class Game
 
squareSymbol() - Method in class Square
 
start() - Method in class Client
Client thread start.
start(String, int, int) - Method in class Server
Called from the lobby when 'create server' is pressed.
startRemoteGame(long) - Method in class RemoteScrabble
Called at start of game to initialise: the random bag racks for all players update all player racks, etc
swapLetterMove(String) - Method in class Client
A method to handle an incoming swap letters move.

A B C D E F G H I K L M O P R S T U V W