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

M

main(String[]) - Static method in class pictionary.pictionaryclient.PictionaryClientGUI
Asks the user for hostname and port, and then creates an instance of #PictionaryClient using these values.
main(String[]) - Static method in class pictionary.pictionaryserver.PictionaryServer
Tries to read settings.txt and then start the server.
Message - Class in pictionary.message
This class defines the package of data that is sent between the server and clients.
Message(Message.MessageType) - Constructor for class pictionary.message.Message
Constructor for the simplest message.
Message(Message.MessageType, String) - Constructor for class pictionary.message.Message
Constructor for a basic message without message data.
Message(Message.MessageType, String, MessageData<?>) - Constructor for class pictionary.message.Message
Creates a Message with the specified type, client and data.
message - Variable in class pictionary.pictionaryserver.PictionaryServer.ClientConnectionMessage
 
Message.MessageType - Enum in pictionary.message
Used in Message to determine the type of message.
Message.MessageType() - Constructor for enum pictionary.message.Message.MessageType
 
messageData - Variable in class pictionary.message.Message
The data associated with this message, is null with some message types where data is not needed; for example Message.MessageType.StopGuessing where the message type alone conveys enough information.
MessageData<T> - Class in pictionary.message
A generic class wrapping an object with the same type as the type parameter.
MessageData(T) - Constructor for class pictionary.message.MessageData
The constructor.
messageReceived(PictionaryServer.ClientConnection, Message) - Method in class pictionary.pictionaryserver.PictionaryServer
Called when a new message has been received
messageType - Variable in class pictionary.message.Message
The type of message.
mouseDragged(MouseEvent) - Method in class pictionary.pictionaryclient.PictionaryClientGUI.Paper.L2
If the paper is enabled, sends the dragged point to PictionaryClientGUI.Paper.addPointAndSend(Point).
mousePressed(MouseEvent) - Method in class pictionary.pictionaryclient.PictionaryClientGUI.Paper.L1
If the paper is enabled, sends the clicked point to PictionaryClientGUI.Paper.addPointAndSend(Point).

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