KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > tracelog > listeners > GenericListener


1 package net.sourceforge.tracelog.listeners;
2
3 import org.eclipse.swt.events.FocusEvent;
4 import org.eclipse.swt.events.FocusListener;
5 import org.eclipse.swt.events.MouseEvent;
6 import org.eclipse.swt.events.MouseListener;
7 import org.eclipse.swt.events.MouseTrackListener;
8 import org.eclipse.swt.widgets.Event;
9 import org.eclipse.swt.widgets.Listener;
10
11 public class GenericListener implements Listener, MouseListener, MouseTrackListener, FocusListener {
12     public void handleEvent(Event event) {
13     }
14
15     public void mouseDoubleClick(MouseEvent e) {
16     }
17
18     public void mouseDown(MouseEvent e) {
19     }
20
21     public void mouseUp(MouseEvent e) {
22     }
23
24     public void mouseEnter(MouseEvent e) {
25     }
26
27     public void mouseExit(MouseEvent e) {
28     }
29
30     public void mouseHover(MouseEvent e) {
31     }
32
33     public void focusGained(FocusEvent e) {
34     }
35
36     public void focusLost(FocusEvent e) {
37     }
38 }
39
Popular Tags