Classe java.awt.AWTEventMulticaster


package java.awt;

import java.awt.event.*;
import java.util.EventListener;
import java.io.Serializable;
import java.io.ObjectOutputStream;
import java.io.IOException;

public class AWTEventMulticaster implements 
    ComponentListener, ContainerListener, FocusListener, KeyListener,
    MouseListener, MouseMotionListener, WindowListener,
    ActionListener, ItemListener, AdjustmentListener,
    TextListener {

    // Constantes et champs protégés
    protected final EventListener a, b;

    // Constructeurs protégés
    protected AWTEventMulticaster(EventListener a, EventListener b);

    // Méthodes d'instance publiques
    public void actionPerformed(ActionEvent e);
    public static ActionListener add(ActionListener a, ActionListener b);
    public static AdjustmentListener add(AdjustmentListener a, AdjustmentListener b);
    public static ComponentListener add(ComponentListener a, ComponentListener b);
    public static ContainerListener add(ContainerListener a, ContainerListener b);
    public static FocusListener add(FocusListener a, FocusListener b);
    public static ItemListener add(ItemListener a, ItemListener b);
    public static KeyListener add(KeyListener a, KeyListener b);
    public static MouseListener add(MouseListener a, MouseListener b);
    public static MouseMotionListener add(MouseMotionListener a, MouseMotionListener b);
    public static TextListener add(TextListener a, TextListener b);
    public static WindowListener add(WindowListener a, WindowListener b);
    public void adjustmentValueChanged(AdjustmentEvent e);
    public void componentAdded(ContainerEvent e);
    public void componentHidden(ComponentEvent e);
    public void componentMoved(ComponentEvent e);
    public void componentRemoved(ContainerEvent e);
    public void componentResized(ComponentEvent e);
    public void componentShown(ComponentEvent e);
    public void focusGained(FocusEvent e)
    public void focusLost(FocusEvent e);
    public void itemStateChanged(ItemEvent e);
    public void keyPressed(KeyEvent e);
    public void keyReleased(KeyEvent e);
    public void keyTyped(KeyEvent e);
    public void mouseClicked(MouseEvent e);
    public void mouseDragged(MouseEvent e);
    public void mouseEntered(MouseEvent e);
    public void mouseExited(MouseEvent e);
    public void mouseMoved(MouseEvent e);
    public void mousePressed(MouseEvent e);
    public void mouseReleased(MouseEvent e);
    public static ActionListener remove(ActionListener l, ActionListener oldl);
    public static AdjustmentListener remove(AdjustmentListener l, AdjustmentListener oldl);
    public static ComponentListener remove(ComponentListener l, ComponentListener oldl);
    public static ContainerListener remove(ContainerListener l, ContainerListener oldl);
    public static FocusListener remove(FocusListener l, FocusListener oldl);
    public static ItemListener remove(ItemListener l, ItemListener oldl);
    public static KeyListener remove(KeyListener l, KeyListener oldl);
    public static MouseListener remove(MouseListener l, MouseListener oldl);
    public static MouseMotionListener remove(MouseMotionListener l, MouseMotionListener oldl);
    public static TextListener remove(TextListener l, TextListener oldl);
    public static WindowListener remove(WindowListener l, WindowListener oldl);
    public void textValueChanged(TextEvent e);
    public void windowActivated(WindowEvent e);
    public void windowClosed(WindowEvent e);
    public void windowClosing(WindowEvent e);
    public void windowDeactivated(WindowEvent e);
    public void windowDeiconified(WindowEvent e);
    public void windowIconified(WindowEvent e);
    public void windowOpened(WindowEvent e);

    // Méthodes d'instance protégés
    protected EventListener remove(EventListener oldl);

    protected static EventListener addInternal(EventListener a, EventListener b);
    protected static EventListener removeInternal(EventListener l, EventListener oldl);
    protected void saveInternal(ObjectOutputStream s, String k) throws IOException;
    protected static void save(ObjectOutputStream s, String k, EventListener l) throws IOException;
}

Christophe Merlet
redfox@redfoxcenter.org
©Tous droits réservés
5 septembre 1998