From 9c281a73c0a3470289a9f96cecb42b02554aa44d Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Fri, 10 Jun 2011 16:00:03 +0200 Subject: =?UTF-8?q?View-Komponente=20des=20Logins=20f=C3=BCr=20Netzwerk-Sp?= =?UTF-8?q?iele?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@396 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/view/IView.java | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) (limited to 'src/jrummikub/view/IView.java') diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java index 0ee2753..722d89b 100644 --- a/src/jrummikub/view/IView.java +++ b/src/jrummikub/view/IView.java @@ -49,7 +49,7 @@ public interface IView { * Sets the current player's name * * @param playerName - * the player name + * the player name */ public void setCurrentPlayerName(String playerName); @@ -57,7 +57,7 @@ public interface IView { * Sets the stones that are to be painted selected * * @param stones - * the stones to be painted selected + * the stones to be painted selected */ public void setSelectedStones(Collection stones); @@ -86,7 +86,7 @@ public interface IView { * Shows or hides the game settings panel * * @param show - * specifies if the panel shall be shown or hidden + * specifies if the panel shall be shown or hidden */ public void showSettingsPanel(boolean show); @@ -94,7 +94,7 @@ public interface IView { * Shows or hides the score panel * * @param show - * specifies if the panel shall be shown or hidden + * specifies if the panel shall be shown or hidden */ public void showScorePanel(boolean show); @@ -103,16 +103,16 @@ public interface IView { * along with the name * * @param color - * the current player's color + * the current player's color */ public void setCurrentPlayerColor(Color color); /** - * Is used for the PlayerPanel to display if a player has laid out along with - * the name + * Is used for the PlayerPanel to display if a player has laid out along + * with the name * * @param hasLaidOut - * specifies if the current player has laid out or not + * specifies if the current player has laid out or not */ public void setCurrentPlayerHasLaidOut(boolean hasLaidOut); @@ -127,13 +127,13 @@ public interface IView { * Sets the bottom panels type * * @param type - * the type of the bottom panel + * the type of the bottom panel */ public void setBottomPanel(BottomPanelType type); /** - * The menu new game event is emitted when the user selects the new game menu - * entry + * The menu new game event is emitted when the user selects the new game + * menu entry * * @return the event */ @@ -168,7 +168,13 @@ public interface IView { public void clearView(); - void enablePauseMode(boolean enable); + public IEvent getNetworkGameEvent(); + + public ILoginPanel getLoginPanel(); + + public void showLoginPanel(boolean show); + + public void enablePauseMode(boolean enable); /** * Different types of bottom panels @@ -185,4 +191,5 @@ public interface IView { /** */ WIN_PANEL } + } -- cgit v1.2.3