From 9f2d3aa5cd370683c94d73a76b2960ac3e46f33b Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Mon, 13 Jun 2011 17:15:37 +0200 Subject: noch mehr Kommentare git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@418 72836036-5685-4462-b002-a69064685172 --- src/jrummikub/view/IPlayerPanel.java | 10 ++++++---- src/jrummikub/view/ISettingsPanel.java | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+), 4 deletions(-) (limited to 'src/jrummikub/view') diff --git a/src/jrummikub/view/IPlayerPanel.java b/src/jrummikub/view/IPlayerPanel.java index 6994456..cc9c64d 100644 --- a/src/jrummikub/view/IPlayerPanel.java +++ b/src/jrummikub/view/IPlayerPanel.java @@ -11,7 +11,9 @@ public interface IPlayerPanel { * Sets the time the player has left for his turn * * @param time - * the time left + * the time left + * @param totalTime + * total time for a turn */ public void setTime(int time, int totalTime); @@ -24,8 +26,8 @@ public interface IPlayerPanel { public IEvent getSortByGroupsEvent(); /** - * The sort by runs event is emitted when the player wants to sort his stones - * by runs + * The sort by runs event is emitted when the player wants to sort his + * stones by runs * * @return the event */ @@ -49,7 +51,7 @@ public interface IPlayerPanel { * Sets the buttons available to end the turn * * @param turnMode - * the {@link TurnMode} + * the {@link TurnMode} */ public void setEndTurnMode(TurnMode turnMode); } diff --git a/src/jrummikub/view/ISettingsPanel.java b/src/jrummikub/view/ISettingsPanel.java index b00046f..4fca9ad 100644 --- a/src/jrummikub/view/ISettingsPanel.java +++ b/src/jrummikub/view/ISettingsPanel.java @@ -170,12 +170,32 @@ public interface ISettingsPanel { */ public IEvent1 getChangeJokerNumberEvent(); + /** + * Emitted when totalTime for a turn is changed + * + * @return the event + */ public IEvent1 getChangeTimeEvent(); + /** + * Emitted when no limits is chosen + * + * @return the event + */ public IEvent1 getChangeNoLimitsEvent(); + /** + * Emitted when the variables are reset to the default values + * + * @return the event + */ public IEvent getSetVariantDefaultEvent(); + /** + * Emitted when the children variant is chosen + * + * @return the event + */ public IEvent getSetVariantChildrenEvent(); /** -- cgit v1.2.3