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

P

paintComponent(Graphics) - Method in class pictionary.pictionaryclient.PictionaryClientGUI.Paper
Draws the points contained in PictionaryClientGUI.Paper.hs on the canvas.
paper - Variable in class pictionary.pictionaryclient.PictionaryClientGUI
The PictionaryClientGUI.Paper on which the user can draw and also see what other players are drawing.
pauseBetweenActions - Static variable in class pictionary.PictionaryGame
The standard pause in seconds.
pictionary - package pictionary
 
pictionary.message - package pictionary.message
 
pictionary.pictionaryclient - package pictionary.pictionaryclient
 
pictionary.pictionaryserver - package pictionary.pictionaryserver
 
PictionaryClient - Class in pictionary.pictionaryclient
Implementation of a basic Pictionary Client which handles communication with a PictionaryServer.
PictionaryClient(String, int) - Constructor for class pictionary.pictionaryclient.PictionaryClient
The constructor.
PictionaryClient.ServerConnection - Class in pictionary.pictionaryclient
ServerConnection handles communication with the PictionaryServer.
PictionaryClient.ServerConnection(String, int) - Constructor for class pictionary.pictionaryclient.PictionaryClient.ServerConnection
The constructor.
PictionaryClient.ServerConnection.ReceiveThread - Class in pictionary.pictionaryclient
Responsible for reading Messages from PictionaryClient.ServerConnection.in and pass them along to PictionaryClient.ServerConnection.handleMessage(pictionary.message.Message).
PictionaryClient.ServerConnection.ReceiveThread() - Constructor for class pictionary.pictionaryclient.PictionaryClient.ServerConnection.ReceiveThread
 
PictionaryClient.ServerConnection.SendThread - Class in pictionary.pictionaryclient
Responsible for taking Messages from PictionaryClient.ServerConnection.outgoingMessages and sending them to the server using PictionaryClient.ServerConnection.out.
PictionaryClient.ServerConnection.SendThread() - Constructor for class pictionary.pictionaryclient.PictionaryClient.ServerConnection.SendThread
 
PictionaryClientGUI - Class in pictionary.pictionaryclient
A simple Pictionary GUI.
PictionaryClientGUI(PictionaryClient) - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI
The constructor.
PictionaryClientGUI.CloseWindowListener - Class in pictionary.pictionaryclient
A custom class used for overriding the default behaviour when the window is closed.
PictionaryClientGUI.CloseWindowListener() - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI.CloseWindowListener
 
PictionaryClientGUI.ConnectButtonListener - Class in pictionary.pictionaryclient
Custom listener class for handling the event that the user uses PictionaryClientGUI.disconnectOrConnectBtn
PictionaryClientGUI.ConnectButtonListener() - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI.ConnectButtonListener
 
PictionaryClientGUI.JoinGameButtonListener - Class in pictionary.pictionaryclient
Handles the event that is generated when PictionaryClientGUI.joinGameBtn is clicked.
PictionaryClientGUI.JoinGameButtonListener() - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI.JoinGameButtonListener
 
PictionaryClientGUI.Paper - Class in pictionary.pictionaryclient
A simple class for rendering a set of points.
PictionaryClientGUI.Paper() - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI.Paper
The constructor.
PictionaryClientGUI.Paper.L1 - Class in pictionary.pictionaryclient
Handles the PictionaryClientGUI.Paper.L1.mousePressed(MouseEvent) event.
PictionaryClientGUI.Paper.L1() - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI.Paper.L1
 
PictionaryClientGUI.Paper.L2 - Class in pictionary.pictionaryclient
Handles the PictionaryClientGUI.Paper.L2.mouseDragged(MouseEvent) event.
PictionaryClientGUI.Paper.L2() - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI.Paper.L2
 
PictionaryClientGUI.SendButtonListener - Class in pictionary.pictionaryclient
Handles the event that is generated when the user clicks PictionaryClientGUI.sendTextBtn
PictionaryClientGUI.SendButtonListener() - Constructor for class pictionary.pictionaryclient.PictionaryClientGUI.SendButtonListener
 
PictionaryGame - Class in pictionary
Implementation of a game of Pictionary.
PictionaryGame(String, ArrayList<String>, int) - Constructor for class pictionary.PictionaryGame
The constructor.
pictionaryGame - Variable in class pictionary.pictionaryserver.PictionaryServer
The PictionaryGame instance used by the server.
PictionaryGame.EndDrawTask - Class in pictionary
A simple class, overriding TimerTask.run(), used when scheduling the game's next action, created when a player starts drawing.
PictionaryGame.EndDrawTask() - Constructor for class pictionary.PictionaryGame.EndDrawTask
 
PictionaryGame.NextActionTask - Class in pictionary
A simple class, overriding TimerTask.run(), used when scheduling the game's next action.
PictionaryGame.NextActionTask() - Constructor for class pictionary.PictionaryGame.NextActionTask
 
PictionaryPlayer - Class in pictionary
This abstract class serves as a foundation for a Pictionary player.
PictionaryPlayer(int, int) - Constructor for class pictionary.PictionaryPlayer
The constructor.
pictionaryPlayers - Variable in class pictionary.PictionaryGame
The collection of players currently playing (drawing or guessing).
PictionaryServer - Class in pictionary.pictionaryserver
Responsible for sending messages between the connected clients, and between the Pictionary game and the clients.
PictionaryServer(String, int, String, ArrayList<String>) - Constructor for class pictionary.pictionaryserver.PictionaryServer
The server's constructor.
PictionaryServer.ClientConnection - Class in pictionary.pictionaryserver
Handles communication with one client; there is one ClientConnection per connected client.
PictionaryServer.ClientConnection(BlockingQueue<PictionaryServer.ClientConnectionMessage>, Socket) - Constructor for class pictionary.pictionaryserver.PictionaryServer.ClientConnection
The constructor.
PictionaryServer.ClientConnection.ReceiveThread - Class in pictionary.pictionaryserver
Receives messages from the client and adds them to the server's message queue.
PictionaryServer.ClientConnection.ReceiveThread() - Constructor for class pictionary.pictionaryserver.PictionaryServer.ClientConnection.ReceiveThread
 
PictionaryServer.ClientConnection.SendThread - Class in pictionary.pictionaryserver
Initially handles setup, then takes care of sending messages to the client.
PictionaryServer.ClientConnection.SendThread() - Constructor for class pictionary.pictionaryserver.PictionaryServer.ClientConnection.SendThread
 
PictionaryServer.ClientConnectionMessage - Class in pictionary.pictionaryserver
A simple class containing a PictionaryServer.ClientConnection and a String message.
PictionaryServer.ClientConnectionMessage() - Constructor for class pictionary.pictionaryserver.PictionaryServer.ClientConnectionMessage
 
PictionaryServer.CloseWindowListener - Class in pictionary.pictionaryserver
Overrides the default behavior when the window is closed.
PictionaryServer.CloseWindowListener() - Constructor for class pictionary.pictionaryserver.PictionaryServer.CloseWindowListener
 
PictionaryServer.ConnectButtonListener - Class in pictionary.pictionaryserver
The listener for PictionaryServer.disconnectOrConnectBtn.
PictionaryServer.ConnectButtonListener() - Constructor for class pictionary.pictionaryserver.PictionaryServer.ConnectButtonListener
 
PictionaryServer.ServerThread - Class in pictionary.pictionaryserver
Listen for new clients, if a new client is found it is passed to ClientConnection#ClientConnection(BlockingQueue, Socket) along with PictionaryServer.incomingMessages.
PictionaryServer.ServerThread() - Constructor for class pictionary.pictionaryserver.PictionaryServer.ServerThread
 
playerExists(PictionaryPlayer) - Method in class pictionary.PictionaryGame
This method is used to check whether a player is in the game or not.
playerLeft(PictionaryPlayer) - Method in class pictionary.PictionaryGame
Called by the hosting server when it gets a disconnect request, calling this method informs the game that a player wants to leave.
playerStartedDrawing(String) - Method in class pictionary.PictionaryPlayer
Informs the player that a player started drawing.
playerStartedDrawing(String) - Method in class pictionary.pictionaryserver.PictionaryServer.ClientConnection
 
playerStoppedDrawing(String) - Method in class pictionary.PictionaryPlayer
Informs the player that a player stopped drawing.
playerStoppedDrawing(String) - Method in class pictionary.pictionaryserver.PictionaryServer.ClientConnection
 
port - Variable in class pictionary.pictionaryserver.PictionaryServer
The port on which this server is listening.

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