1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
public interface IHMListener
extends ActionListener,WindowListener, MouseListener, ItemListener, FocusListener,KeyListener {
//ActionListener
public void actionPerformed(ActionEvent arg0);
//WindowListener
public void windowActivated(WindowEvent arg0);
public void windowClosed(WindowEvent arg0);
public void windowClosing(WindowEvent arg0);
public void windowDeactivated(WindowEvent arg0);
public void windowDeiconified(WindowEvent arg0);
public void windowIconified(WindowEvent arg0);
public void windowOpened(WindowEvent arg0);
//MouseListener
public void mouseClicked(MouseEvent e);
public void mousePressed(MouseEvent e);
public void mouseEntered(MouseEvent e);
public void mouseExited(MouseEvent e);
//ItemListener
public void itemStateChanged(ItemEvent arg0);
//FocusListener
public void focusGained(FocusEvent arg0);
public void focusLost(FocusEvent arg0);
//KeyListener
public void keyPressed(KeyEvent arg0);
public void keyReleased(KeyEvent arg0);
public void keyTyped(KeyEvent arg0);
} |