summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/IView.java
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-06 23:27:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-06 23:27:33 +0200
commitc59332950be525408da7b2e66687603a68cb560b (patch)
tree1c4eee4b7b250ac1cbaaf3870ebc132e14cc114e /src/jrummikub/view/IView.java
parent682357b5841f7853212e354199d1a46589663364 (diff)
downloadJRummikub-c59332950be525408da7b2e66687603a68cb560b.tar
JRummikub-c59332950be525408da7b2e66687603a68cb560b.zip
Add menu bar and make quit item work
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@379 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/IView.java')
-rw-r--r--src/jrummikub/view/IView.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/jrummikub/view/IView.java b/src/jrummikub/view/IView.java
index ab86b4b..1c95ad4 100644
--- a/src/jrummikub/view/IView.java
+++ b/src/jrummikub/view/IView.java
@@ -144,4 +144,36 @@ public interface IView {
/** */
WIN_PANEL
}
+
+ /**
+ * The menu new game event is emitted when the user selects the new game menu
+ * entry
+ *
+ * @return the event
+ */
+ public IEvent getMenuNewGameEvent();
+
+ /**
+ * The menu load event is emitted when the user selects the load menu
+ * entry
+ *
+ * @return the event
+ */
+ public IEvent getMenuLoadEvent();
+
+ /**
+ * The menu save event is emitted when the user selects the save menu
+ * entry
+ *
+ * @return the event
+ */
+ public IEvent getMenuSaveEvent();
+
+ /**
+ * The menu quit event is emitted when the user selects the quit menu
+ * entry
+ *
+ * @return the event
+ */
+ public IEvent getMenuQuitEvent();
}