summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/view/impl
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-05-03 17:33:48 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-05-03 17:33:48 +0200
commit6161c4b1d4d9b5a47775d32dfa198003ddb5afb5 (patch)
tree895332fecb75ae2832b0c4cf3247facebf748190 /src/jrummikub/view/impl
parentbcc3f95847eafa1b61bb32dac047101c7adc0e64 (diff)
downloadJRummikub-6161c4b1d4d9b5a47775d32dfa198003ddb5afb5.tar
JRummikub-6161c4b1d4d9b5a47775d32dfa198003ddb5afb5.zip
Rename event and listener methods
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@81 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/impl')
-rw-r--r--src/jrummikub/view/impl/AbstractStonePanel.java4
-rw-r--r--src/jrummikub/view/impl/PlayerPanel.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/jrummikub/view/impl/AbstractStonePanel.java b/src/jrummikub/view/impl/AbstractStonePanel.java
index 19e5891..a19ea1f 100644
--- a/src/jrummikub/view/impl/AbstractStonePanel.java
+++ b/src/jrummikub/view/impl/AbstractStonePanel.java
@@ -65,7 +65,7 @@ abstract class AbstractStonePanel extends JPanel implements IStonePanel,
Stone stone = getStoneAt(pos);
if (stone == null) {
- clickEvent.fire(pos);
+ clickEvent.emit(pos);
return;
}
@@ -76,7 +76,7 @@ abstract class AbstractStonePanel extends JPanel implements IStonePanel,
else if (e.getClickCount() >= 2)
event = setClickEvent;
- event.fire(stone, e.isControlDown());
+ event.emit(stone, e.isControlDown());
}
});
}
diff --git a/src/jrummikub/view/impl/PlayerPanel.java b/src/jrummikub/view/impl/PlayerPanel.java
index 0a7e64a..385356b 100644
--- a/src/jrummikub/view/impl/PlayerPanel.java
+++ b/src/jrummikub/view/impl/PlayerPanel.java
@@ -96,7 +96,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
sortByNumberButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent arg0) {
- sortByNumberEvent.fire();
+ sortByNumberEvent.emit();
}
});
leftPanel.add(sortByNumberButton);
@@ -107,7 +107,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
sortByColorButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent arg0) {
- sortByColorEvent.fire();
+ sortByColorEvent.emit();
}
});
leftPanel.add(sortByColorButton);
@@ -131,7 +131,7 @@ class PlayerPanel extends JPanel implements IPlayerPanel {
endTurnButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent arg0) {
- endTurnEvent.fire();
+ endTurnEvent.emit();
}
});