summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-06-19 22:30:04 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-06-19 22:30:04 +0200
commit2c3f5b53e1c567537f99594602f5c253885298a6 (patch)
treedb13961051e540824ced069f2cd0a5352980d0dc /mock/jrummikub/view
parent10153f76a14a7b66e3c936b3249bec0c76835984 (diff)
downloadJRummikub-2c3f5b53e1c567537f99594602f5c253885298a6.tar
JRummikub-2c3f5b53e1c567537f99594602f5c253885298a6.zip
räusper...
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@494 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockQuitWarningPanel.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/mock/jrummikub/view/MockQuitWarningPanel.java b/mock/jrummikub/view/MockQuitWarningPanel.java
new file mode 100644
index 0000000..fc5abde
--- /dev/null
+++ b/mock/jrummikub/view/MockQuitWarningPanel.java
@@ -0,0 +1,35 @@
+package jrummikub.view;
+
+import jrummikub.util.IEvent;
+import jrummikub.util.MockEvent;
+
+/** */
+public class MockQuitWarningPanel implements IQuitWarningPanel {
+ /** */
+ public MockEvent quitEvent = new MockEvent();
+ /** */
+ public MockEvent cancelEvent = new MockEvent();
+ /** */
+ public QuitMode quitMode;
+
+ @Override
+ public IEvent getQuitEvent() {
+ return quitEvent;
+ }
+
+ @Override
+ public IEvent getCancelEvent() {
+ return cancelEvent;
+ }
+
+ @Override
+ public void setMode(QuitMode mode) {
+ quitMode = mode;
+ }
+
+ @Override
+ public QuitMode getQuitMode() {
+ return quitMode;
+ }
+
+}