From 670fcf2613f6db2a4bfdaa91ac9d90001a90359e Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 10 May 2011 16:59:40 +0200 Subject: docs fertig und vorher repariert git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@232 72836036-5685-4462-b002-a69064685172 --- doc/jrummikub/model/Table.html | 380 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 380 insertions(+) create mode 100644 doc/jrummikub/model/Table.html (limited to 'doc/jrummikub/model/Table.html') diff --git a/doc/jrummikub/model/Table.html b/doc/jrummikub/model/Table.html new file mode 100644 index 0000000..721ef67 --- /dev/null +++ b/doc/jrummikub/model/Table.html @@ -0,0 +1,380 @@ + + + + + + +Table + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +jrummikub.model +
+Class Table

+
+java.lang.Object
+  extended by jrummikub.model.StoneTray<StoneSet>
+      extended by jrummikub.model.Table
+
+
+
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<Pair<StoneSet,Position>>, IStoneTray<StoneSet>, ITable
+
+
+
+
public class Table
extends StoneTray<StoneSet>
implements ITable
+ + +

+Class administering the Stones on the game-Table +

+ +

+


+ +

+ + + + + + + +
+Nested Class Summary
+ + + + + + + +
Nested classes/interfaces inherited from class jrummikub.model.StoneTray
StoneTray.Direction
+  + + + + + + + +
+Field Summary
+ + + + + + + +
Fields inherited from class jrummikub.model.StoneTray
objects
+  + + + + + + + + + + +
+Constructor Summary
Table() + +
+           
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ StoneSetfindStoneSet(Stone stone) + +
+          Finds the StoneSet containing the given Stone
+ booleanisValid() + +
+          Tests the Table for rule conflicts by checking all the StoneSet
+ voidpickUpStone(Stone stone) + +
+          Removes Stone from the Table
+ + + + + + + +
Methods inherited from class jrummikub.model.StoneTray
clone, drop, fixInvalidDrop, getPosition, getSize, iterator, pickUp
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+ + + + + + + +
Methods inherited from interface jrummikub.model.IStoneTray
clone, drop, getPosition, getSize, pickUp
+ + + + + + + +
Methods inherited from interface java.lang.Iterable
iterator
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+Table

+
+public Table()
+
+
+ + + + + + + + +
+Method Detail
+ +

+pickUpStone

+
+public void pickUpStone(Stone stone)
+
+
Removes Stone from the Table +

+

+
Specified by:
pickUpStone in interface ITable
+
+
+
Parameters:
stone - stone to pick up
+
+
+
+ +

+findStoneSet

+
+public StoneSet findStoneSet(Stone stone)
+
+
Description copied from interface: ITable
+
Finds the StoneSet containing the given Stone +

+

+
Specified by:
findStoneSet in interface ITable
+
+
+
Parameters:
stone - stone whose set we're searching +
Returns:
the set containing the stone or null if no set was found
+
+
+
+ +

+isValid

+
+public boolean isValid()
+
+
Tests the Table for rule conflicts by checking all the StoneSet +

+

+
Specified by:
isValid in interface ITable
+
+
+ +
Returns:
whether all sets on the table are valid
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3