diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-17 20:00:43 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-17 20:00:43 +0200 |
commit | 4f71c5cb4700b39d816c6a4ae123ad94fef456df (patch) | |
tree | 3ed53d9d84956179e86b5483c8d07bd767d4b0f8 /src/jrummikub/view/IView.java | |
parent | 2c9f1d5d202ca1cea69846aea42a4962e7482a6b (diff) | |
download | JRummikub-4f71c5cb4700b39d816c6a4ae123ad94fef456df.tar JRummikub-4f71c5cb4700b39d816c6a4ae123ad94fef456df.zip |
Kommentare und 2 Methoden, die jetzt kurz genug sind
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@446 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/IView.java')
-rw-r--r-- | src/jrummikub/view/IView.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java index 1121b44..33f6284 100644 --- a/src/jrummikub/view/IView.java +++ b/src/jrummikub/view/IView.java @@ -162,22 +162,70 @@ public interface IView { */ public IEvent1<File> getSaveEvent(); + /** + * The pause event is emitted when the user wants to pause the current turn + * + * @return the event + */ public IEvent getPauseEvent(); + /** + * The end pause event is emitted when the user wants to sresume the game + * after a pause + * + * @return the event + */ public IEvent getEndPauseEvent(); + /** + * Hides all view elements and panels except for the cleared table and an + * empty hand panel + */ public void clearView(); + /** + * The network game event is emitted when the user chooses a network game + * + * @return the event + */ public IEvent getNetworkGameEvent(); + /** + * Getter for login panel + * + * @return login panel + */ public ILoginPanel getLoginPanel(); + /** + * Getter for game list panel + * + * @return game list panel + */ public IGameListPanel getGameListPanel(); + /** + * Show/hide login panel + * + * @param show + * true = login panel is shown + */ public void showLoginPanel(boolean show); + /** + * Enable/disable pause mode + * + * @param enable + * true = enable + */ public void enablePauseMode(boolean enable); + /** + * Show/hide game list panel + * + * @param show + * true = show + */ public void showGameListPanel(boolean show); /** |