summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl/PlayerPanel.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-02 05:12:53 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-02 05:12:53 +0200
commitfcef81715bff95ac04176dd3d93bb44e1b625087 (patch)
treee02dcb3d31185afe5943680e1e4549f4ce66775c /src/jrummikub/view/impl/PlayerPanel.java
parenta9cf0d8c8fb5b489f07e4cc408cc5edf413ce26e (diff)
downloadJRummikub-fcef81715bff95ac04176dd3d93bb44e1b625087.tar
JRummikub-fcef81715bff95ac04176dd3d93bb44e1b625087.zip
Add JavaDoc to view implementation
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@66 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/impl/PlayerPanel.java')
-rw-r--r--src/jrummikub/view/impl/PlayerPanel.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java
index 1d62aab..309982e 100644
--- a/src/jrummikub/view/impl/PlayerPanel.java
+++ b/src/jrummikub/view/impl/PlayerPanel.java
@@ -19,6 +19,9 @@ import jrummikub.util.Event;
import jrummikub.util.IEvent;
import jrummikub.view.IPlayerPanel;
+/**
+ * Implementation of the player panel
+ */
@SuppressWarnings("serial")
class PlayerPanel extends JPanel implements IPlayerPanel {
private final static int SIDE_PANEL_INSET = 15;
@@ -31,7 +34,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
private Board board;
- JPanel leftPanel, rightPanel;
+ private JPanel leftPanel, rightPanel;
private JLabel currentPlayerNameLabel;
private JButton sortByNumberButton;
@@ -149,6 +152,9 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
rightPanel.validate();
}
+ /**
+ * Creates a new PlayerPanel instance
+ */
PlayerPanel() {
setLayout(null);