- Tag - Class in com.putable.common.tags
-
Java representation of an XML Tag in the NetPuzl World.
- Tag(Tag.TType) - Constructor for class com.putable.common.tags.Tag
-
Constructor of the Tag Object
- tag - Variable in class com.putable.server.RequestHandler
-
A tag that is generated and then handled.
- Tag.TType - Enum in com.putable.common.tags
-
Type of the tag, every Tag should have one.
- TagCreationException - Exception in com.putable.common.tags
-
Exception that should be thrown in the case of illegal attempt of creation or
parameter change of the Tag or an ObjID
- TagCreationException(String) - Constructor for exception com.putable.common.tags.TagCreationException
-
Creates an Exception
- tags - Variable in class tests.ClientXMLHandlerTestee
-
- tags - Variable in class tests.ServerXMLHandlerTestee
-
- talkToNetPuzlObject(NetPuzlObject, String) - Method in class com.putable.client.gui.Gui
-
- TClient - Class in com.putable.common.tags
-
Tag type CLIENT that holds a single attribute.
FROM: client
Required attribute:
version: fixed value String - "1.1"
- TClient() - Constructor for class com.putable.common.tags.TClient
-
Creates a Tag of type CLIENT
- TCmd - Class in com.putable.common.tags
-
Tag type CMD
FROM: client
Required attributes:
type - enum ["click" | "say" | "press"]
type CmdType
objid - type ObjID
Optional attributes:
modifiers
text
- TCmd(TCmd.CmdType, ObjID, Integer) - Constructor for class com.putable.common.tags.TCmd
-
Creates Tag type CMD
- TCmd.CmdType - Enum in com.putable.common.tags
-
Enum type for attribute type in a cmd tag.
- testAddAgent() - Method in class tests.MatrixTest
-
Tests that adding Agents to a matrix works by verifying the Agent
container within the matrix contains the expected number of Agents
- testAddKey() - Method in class tests.MatrixTest
-
Tests that adding Keys to a matrix works by verifying the Key container
within the matrix contains the expected number of Keys
- testAgentFactory() - Method in class tests.FactoryClassesTest
-
Tests that an agent factory produces an Agent with the expected
attributes, and tests that it properly adds the Agent to the cache
- testClientTagNoClosing() - Method in class tests.ServerXMLHandlerTester
-
- testClientTagWrongVersion() - Method in class tests.ServerXMLHandlerTester
-
- testCmdClickNotToken() - Method in class tests.ClientSendTagsTests
-
- testCmdClickTokenNoModifier() - Method in class tests.ClientSendTagsTests
-
- testCmdNullObjID() - Method in class tests.ClientSendTagsTests
-
- testCmdNullType() - Method in class tests.ClientSendTagsTests
-
- testCmdPressNoModifier() - Method in class tests.ClientSendTagsTests
-
- testCmdPressNotKey() - Method in class tests.ClientSendTagsTests
-
- testCmdTextNotSay() - Method in class tests.ClientSendTagsTests
-
- testCmdTrimmedMessageReceived() - Method in class tests.ServerXMLHandlerTester
-
- testConnection(URL) - Static method in class com.putable.server.CheckConnection
-
Test connection.
- testGridSize() - Method in class tests.MatrixTest
-
Tests that matrices properly initialize with the grid size constants
defined in their corresponding factories
- testHearWithoutFrom() - Method in class tests.ServerSendTagsTests
-
- testHearWithoutTo() - Method in class tests.ServerSendTagsTests
-
- testKeyFactory() - Method in class tests.FactoryClassesTest
-
Tests that a key factory produces a Key with the expected attributes, and
tests that it properly adds the Key to the cache
- testLoggedInTagUserSpecialCharacter() - Method in class tests.ClientXMLHandlerTester
-
Tests logged in tag user special character case
- testLoginTagPassLength() - Method in class tests.ServerXMLHandlerTester
-
- testLoginTagPassSpecialCharacter() - Method in class tests.ServerXMLHandlerTester
-
- testLoginTagUserLength() - Method in class tests.ServerXMLHandlerTester
-
- testLoginTagUserSpecialCharacter() - Method in class tests.ServerXMLHandlerTester
-
- testLogoutMessageCharConv() - Method in class tests.ServerXMLHandlerTester
-
- testMatrixFactory() - Method in class tests.FactoryClassesTest
-
Tests that a matrix factory produces all types of Matrices with the
expected attributes, and tests that it properly adds the Matrices to the
cache
- testMultipleFactoriesCache() - Method in class tests.FactoryClassesTest
-
Tests that multiple factories producing multiple NetPuzlObjects properly
adds the NetPuzlObjects to the cache
- testMultipleFactoriesObjIDs() - Method in class tests.FactoryClassesTest
-
Tests that multiple factories producing multiple NetPuzlObjects properly
assign unique IDs to the NetPuzlObjects
- testObjIDCapKey() - Method in class tests.ClientSendTagsTests
-
- testObjIDillChar() - Method in class tests.ClientSendTagsTests
-
- testObjIDlargeID() - Method in class tests.ClientSendTagsTests
-
- testObjIDnotPosID() - Method in class tests.ClientSendTagsTests
-
- testObjIDwrongKey() - Method in class tests.ClientSendTagsTests
-
- testRemoveAgent() - Method in class tests.MatrixTest
-
Tests that removing Agents from a matrix works by verifying the Agent
container within the matrix contains the expected number of Agents and
the correct Agent was removed
- testRemoveKey() - Method in class tests.MatrixTest
-
Tests that removing Keys from a matrix works by verifying the Key
container within the matrix contains the expected number of Keys and the
correct Key was removed
- tests - package tests
-
Provides the classes for JUnit tests
- testServerTagNoClosing() - Method in class tests.ClientXMLHandlerTester
-
Tests server tag not closing case
- testServerTagWrongVersion() - Method in class tests.ClientXMLHandlerTester
-
Tests server wrong version case
- testSetCell() - Method in class tests.MatrixTest
-
Tests that setting the Cell of a matrix grid works by verifying the Cell
contains the expected Token
- testTagtoString() - Method in class tests.ServerXMLHandlerTester
-
- testTokenFactory() - Method in class tests.FactoryClassesTest
-
Tests that a token factory produces a Token with the expected attributes,
and tests that it properly adds the Token to the cache
- testXMLHandler() - Method in class tests.ClientXMLHandlerTester
-
A Client XMLHandler Testee
- testXMLHandler() - Method in class tests.ServerXMLHandlerTester
-
- testZeroAgents() - Method in class tests.MatrixTest
-
Tests that a matrix properly initializes with zero Agents
- testZeroKeys() - Method in class tests.MatrixTest
-
Tests that a matrix properly initializes with zero Keys
- text - Variable in class com.putable.common.matrix.Attributes
-
The text of the NetPuzlObject
- text - Variable in class com.putable.common.tags.TCmd
-
- text - Variable in class com.putable.common.tags.TSet
-
- text - Variable in class tests.FactoryClassesTest
-
The text of a NetPuzlObject
- THear - Class in com.putable.common.tags
-
Tag type HEAR
FROM: server
Required attributes:
from - objid
to - objid
message - empty by default
- THear(ObjID, ObjID) - Constructor for class com.putable.common.tags.THear
-
Constructs the Tag type HEAR
- timer - Variable in class com.putable.server.matrix.HeinekenMatrix
-
The Timer that schedules a swap of the Heineken bottle Image and a
background image
- timer - Variable in class com.putable.server.NetPuzlClientHandler
-
Timer timer for iterating through clients for deleting and cleaning up
- TLoggedIn - Class in com.putable.common.tags
-
Tag type LOGGED_IN
FROM: server
Required attribute:
message - default value is ""
Optional attribute:
objid - type ObjID
- TLoggedIn() - Constructor for class com.putable.common.tags.TLoggedIn
-
Constructs the Tag type LOGGED_IN with an empty message
- TLoggedOut - Class in com.putable.common.tags
-
Tag of type LOGGED_OUT
FROM: server
Required attribute:
message - empty string by default
- TLoggedOut() - Constructor for class com.putable.common.tags.TLoggedOut
-
Constructs new Tag type LOGGED_OUT with an empty message
- TLogin - Class in com.putable.common.tags
-
Tag type LOGIN
FROM: client
Required attributes:
user - can have between 1 - 16 characters, can not contain '<' character
password - can have between 0 - 16 characters, can not contain '<' character
- TLogin(String, char[]) - Constructor for class com.putable.common.tags.TLogin
-
Constructs a new Tag type LOGIN, sets user and a password
- TLogout - Class in com.putable.common.tags
-
Tag type LOGOUT
FROM:client
Optional attribute:
message - string
- TLogout() - Constructor for class com.putable.common.tags.TLogout
-
Constructs a new Tag type LOGOUT
- TO - Variable in class com.putable.common.tags.THear
-
- token - Variable in class com.putable.common.matrix.Cell
-
The Token contained in this Cell, or null if none
- token - Variable in class com.putable.common.matrix.ClickFunction
-
The Token to be clicked
- token - Variable in class com.putable.common.matrix.SayFunction
-
The Token to be spoken to, or null if none
- Token - Class in com.putable.common.matrix
-
A Token in a Matrix can be clicked on (or spoken to or heard from)
- Token(ObjID, Attributes, Map<ObjID, NetPuzlObject>) - Constructor for class com.putable.common.matrix.Token
-
Constructs a Token with the given parameters
- tokenAttr - Variable in class com.putable.client.gui.Gui
-
- TokenFactory - Class in com.putable.server.factoryClasses
-
A factory class that produces Tokens with unique ObjIDs and caches them
- TokenFactory() - Constructor for class com.putable.server.factoryClasses.TokenFactory
-
Restricts factory instantiation since all class data is static
- tokenListModel - Variable in class com.putable.client.gui.Gui
-
- tokenPanel - Variable in class com.putable.client.gui.Gui
-
These are the various panels needed.
- tokenScrollPane - Variable in class com.putable.client.gui.Gui
-
- tokensList - Variable in class com.putable.client.gui.Gui
-
- toLegalXMLStr(String) - Method in class com.putable.common.tags.Tag
-
Inside function used for converting '&' to "&",
'<' to "<" and '"' to "" inside
the string for transferring through XML tags
- toString() - Method in class com.putable.common.matrix.AbstractMatrix
-
- toString() - Method in class com.putable.common.matrix.Attributes
-
Returns a String representation of this Attributes object
- toString() - Method in interface com.putable.common.matrix.Matrix
-
Every Matrix in a NetPuzl world will have its own String representation
- toString() - Method in class com.putable.common.matrix.NetPuzlObject
-
A simple String representation of this NetPuzlObject
- toString() - Method in class com.putable.common.tags.ObjID
-
Converts the tag into a proper version of the XML Tag objid, ex.
- toString() - Method in class com.putable.common.tags.Tag
-
Returns a Tag in it's proper XML representation
- toString() - Method in enum com.putable.common.tags.Tag.TType
-
String representation of the enum TType
- toString() - Method in class com.putable.common.tags.TClient
-
- toString() - Method in enum com.putable.common.tags.TCmd.CmdType
-
Returns String representation of the type of cmd Tag
- toString() - Method in class com.putable.common.tags.TCmd
-
- toString() - Method in class com.putable.common.tags.THear
-
- toString() - Method in class com.putable.common.tags.TLoggedIn
-
- toString() - Method in class com.putable.common.tags.TLoggedOut
-
- toString() - Method in class com.putable.common.tags.TLogin
-
- toString() - Method in class com.putable.common.tags.TLogout
-
- toString() - Method in enum com.putable.common.tags.TServer.SStatus
-
Returns String representation of the type
- toString() - Method in class com.putable.common.tags.TServer
-
- toString() - Method in class com.putable.common.tags.TSet
-
- toString() - Method in class com.putable.common.tags.TXrequest
-
- toString() - Method in class com.putable.common.tags.TXresponse
-
- toString() - Method in class com.putable.server.matrix.HeinekenMathMatrix.Equation
-
Returns a String representation of this Equation for easy display in
the text Attribute of a game Token
- toString() - Method in class com.putable.server.NetPuzlClientProxy
-
Client Proxy to string
- toTag(String) - Static method in enum com.putable.common.tags.Tag.TType
-
Useful converter of a Tag type into string
- TransparentPanel - Class in com.putable.client.gui
-
Transparent Panel for drawable surface on the GUI
- TransparentPanel() - Constructor for class com.putable.client.gui.TransparentPanel
-
Instantiates a new transparent panel, and makes the component transparent
- TServer - Class in com.putable.common.tags
-
Tag type SERVER
FROM: server
Required attributes:
version - always equals "1.1" by default
group - equals to "heineken" if send by our server
name - particular server 'world'
status - enum "OPEN" or "CLOSED" or "BUSY"
- TServer(String, String, TServer.SStatus) - Constructor for class com.putable.common.tags.TServer
-
Constructor for the Tag type SERVER.
- TServer.SStatus - Enum in com.putable.common.tags
-
Enum for three possible values of the status of the Server:
"open", "closed" and "busy"
- TSet - Class in com.putable.common.tags
-
Tag type SET - that is a 'workhorse' of the communication in NetPuzl.
- TSet(ObjID) - Constructor for class com.putable.common.tags.TSet
-
Creates a Tag type SET by setting required attribute objid
- tString - Variable in enum com.putable.common.tags.Tag.TType
-
- TTYPE - Variable in class com.putable.common.tags.Tag
-
- TType(String) - Constructor for enum com.putable.common.tags.Tag.TType
-
- TXrequest - Class in com.putable.common.tags
-
Tag type XREQUEST contains DATA that is empty by default.
- TXrequest(String) - Constructor for class com.putable.common.tags.TXrequest
-
Constructs a Tag type XREQUEST
- TXresponse - Class in com.putable.common.tags
-
Tag type XRESPONSE that holds data
FROM: server
Optional attribute:
options - empty by default
- TXresponse(String) - Constructor for class com.putable.common.tags.TXresponse
-
Constructs the Tag type XRESPONSE
- TYPE - Variable in class com.putable.common.tags.ObjID
-
- type - Variable in class com.putable.xmlhandler.XMLHandler
-