summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/ITablePanel.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-03 16:03:09 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-03 16:03:09 +0200
commit3e257e3979f1f58d8b5ceb7a2d4472201bb94c34 (patch)
treee5c737e91fb6ce740367f31a6aaee9a3995221cd /src/jrummikub/view/ITablePanel.java
parente7b428c01986dd288c548f7daf86834ff12e4a2d (diff)
downloadJRummikub-3e257e3979f1f58d8b5ceb7a2d4472201bb94c34.tar
JRummikub-3e257e3979f1f58d8b5ceb7a2d4472201bb94c34.zip
Renamed everything in the view
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@75 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/ITablePanel.java')
-rw-r--r--src/jrummikub/view/ITablePanel.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/jrummikub/view/ITablePanel.java b/src/jrummikub/view/ITablePanel.java
new file mode 100644
index 0000000..48eb357
--- /dev/null
+++ b/src/jrummikub/view/ITablePanel.java
@@ -0,0 +1,51 @@
+package jrummikub.view;
+
+import java.util.Map;
+
+import jrummikub.model.Position;
+import jrummikub.model.StoneSet;
+
+/**
+ * The view of the table, where the stone sets lie
+ */
+public interface ITablePanel extends IClickable {
+ /**
+ * Sets the player name on the left label
+ *
+ * @param playerName
+ * the name to set
+ */
+ public void setLeftPlayerName(String playerName);
+
+ /**
+ * Sets the player name on the top label
+ *
+ * @param playerName
+ * the name to set
+ */
+ public void setTopPlayerName(String playerName);
+
+ /**
+ * Sets the player name on the right label
+ *
+ * @param playerName
+ * the name to set
+ */
+ public void setRightPlayerName(String playerName);
+
+ /**
+ * Sets the stone sets lying on the table
+ *
+ * @param stoneSets
+ * set stone sets on the table
+ */
+ public void setStoneSets(Map<StoneSet, Position> stoneSets);
+
+ /**
+ * Returns the stone collection (the panel showing the stones currently
+ * selected)
+ *
+ * @return the stone collection
+ */
+ IStoneCollectionPanel getStoneCollectionPanel();
+}