org.apache.cocoon.woody.event
Class WidgetEventMulticaster

java.lang.Object
  extended by java.awt.AWTEventMulticaster
      extended by org.apache.cocoon.woody.event.WidgetEventMulticaster
All Implemented Interfaces:
ActionListener, AdjustmentListener, ComponentListener, ContainerListener, FocusListener, HierarchyBoundsListener, HierarchyListener, InputMethodListener, ItemListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, TextListener, WindowFocusListener, WindowListener, WindowStateListener, EventListener, ProcessingPhaseListener, ValueChangedListener, WidgetListener

public class WidgetEventMulticaster
extends AWTEventMulticaster
implements ActionListener, ValueChangedListener, ProcessingPhaseListener

Convenience class to handle all widget event listeners. See java.awt.AWTEventMulticaster for more information on its use.

Version:
CVS $Id: WidgetEventMulticaster.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez

Field Summary
 
Fields inherited from class java.awt.AWTEventMulticaster
a, b
 
Constructor Summary
protected WidgetEventMulticaster(EventListener a, EventListener b)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
static ActionListener add(ActionListener a, ActionListener b)
           
static ProcessingPhaseListener add(ProcessingPhaseListener a, ProcessingPhaseListener b)
           
static ValueChangedListener add(ValueChangedListener a, ValueChangedListener b)
           
protected static EventListener addInternal(EventListener a, EventListener b)
          Can't use the superclass method since it creates an AWTEventMulticaster
 void phaseEnded(ProcessingPhaseEvent e)
           
static ActionListener remove(ActionListener l, ActionListener oldl)
           
static ProcessingPhaseListener remove(ProcessingPhaseListener l, ProcessingPhaseListener oldl)
           
static ValueChangedListener remove(ValueChangedListener l, ValueChangedListener oldl)
           
 void valueChanged(ValueChangedEvent e)
           
 
Methods inherited from class java.awt.AWTEventMulticaster
actionPerformed, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, adjustmentValueChanged, ancestorMoved, ancestorResized, caretPositionChanged, componentAdded, componentHidden, componentMoved, componentRemoved, componentResized, componentShown, focusGained, focusLost, getListeners, hierarchyChanged, inputMethodTextChanged, itemStateChanged, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, remove, removeInternal, save, saveInternal, textValueChanged, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetEventMulticaster

protected WidgetEventMulticaster(EventListener a,
                                 EventListener b)
Method Detail

add

public static ActionListener add(ActionListener a,
                                 ActionListener b)

remove

public static ActionListener remove(ActionListener l,
                                    ActionListener oldl)

actionPerformed

public void actionPerformed(ActionEvent e)

add

public static ValueChangedListener add(ValueChangedListener a,
                                       ValueChangedListener b)

remove

public static ValueChangedListener remove(ValueChangedListener l,
                                          ValueChangedListener oldl)

phaseEnded

public void phaseEnded(ProcessingPhaseEvent e)
Specified by:
phaseEnded in interface ProcessingPhaseListener

add

public static ProcessingPhaseListener add(ProcessingPhaseListener a,
                                          ProcessingPhaseListener b)

remove

public static ProcessingPhaseListener remove(ProcessingPhaseListener l,
                                             ProcessingPhaseListener oldl)

valueChanged

public void valueChanged(ValueChangedEvent e)
Specified by:
valueChanged in interface ValueChangedListener

addInternal

protected static EventListener addInternal(EventListener a,
                                           EventListener b)
Can't use the superclass method since it creates an AWTEventMulticaster



Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.