KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > AWTEventMulticaster

java.awt
Class AWTEventMulticaster

java.lang.Object
  extended by java.awt.AWTEventMulticaster
All Implemented Interfaces:
ActionListener, AdjustmentListener, ComponentListener, ContainerListener, FocusListener, HierarchyBoundsListener, HierarchyListener, InputMethodListener, ItemListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, TextListener, WindowFocusListener, WindowListener, WindowStateListener, EventListener
See Also:
Top Examples, Source Code

protected final EventListener a
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[589]AWTEventMulticaster
By Vladimir on 2005/05/27 07:49:26  Rate
public myComponent extends Component  {  
      ActionListener actionListener = null; 
  
  
      public synchronized void addActionListener ( ActionListener l )   {  
      actionListener = AWTEventMulticaster.add ( actionListener, l ) ; 
       }  
      public synchronized void removeActionListener ( ActionListener l )   {  
        actionListener = AWTEventMulticaster.remove ( actionListener, l ) ; 
       }  
      public void processEvent ( AWTEvent e )   {  
          // when event occurs which causes "action" semantic 
          if  ( actionListener != null )   {  
              actionListener.actionPerformed ( new ActionEvent (  )  ) ; 
           }           
   }  
  


[597]_
By mailmuhil { at } yahoo { dot } com on 2005/04/06 10:22:32  Rate
class Test {  
 private Test (  )  {  
  }  
 private void printMsg ( String msg )  {  
   System.out.println ( msg ) ; 
  }  
 private void main ( String args [  ]  )  {  
   Test test = new Test (  ) ; 
   test.printMsg ( "This is a Test Class" ) ; 
  }  
  } 


public void actionPerformed(ActionEvent e)
See Also:
ActionListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ActionListener add(ActionListener a,
                                 ActionListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AdjustmentListener add(AdjustmentListener a,
                                     AdjustmentListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ComponentListener add(ComponentListener a,
                                    ComponentListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ContainerListener add(ContainerListener a,
                                    ContainerListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FocusListener add(FocusListener a,
                                FocusListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static HierarchyBoundsListener add(HierarchyBoundsListener a,
                                          HierarchyBoundsListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static HierarchyListener add(HierarchyListener a,
                                    HierarchyListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static InputMethodListener add(InputMethodListener a,
                                      InputMethodListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ItemListener add(ItemListener a,
                               ItemListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static KeyListener add(KeyListener a,
                              KeyListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static MouseListener add(MouseListener a,
                                MouseListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static MouseMotionListener add(MouseMotionListener a,
                                      MouseMotionListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static MouseWheelListener add(MouseWheelListener a,
                                     MouseWheelListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static TextListener add(TextListener a,
                               TextListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static WindowFocusListener add(WindowFocusListener a,
                                      WindowFocusListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static WindowListener add(WindowListener a,
                                 WindowListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static WindowStateListener add(WindowStateListener a,
                                      WindowStateListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static EventListener addInternal(EventListener a,
                                           EventListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void adjustmentValueChanged(AdjustmentEvent e)
See Also:
AdjustmentListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void ancestorMoved(HierarchyEvent e)
See Also:
HierarchyBoundsListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void ancestorResized(HierarchyEvent e)
See Also:
HierarchyBoundsListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AWTEventMulticaster(EventListener a,
                              EventListener b)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final EventListener b
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void caretPositionChanged(InputMethodEvent e)
See Also:
InputMethodListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void componentAdded(ContainerEvent e)
See Also:
ContainerListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void componentHidden(ComponentEvent e)
See Also:
ComponentListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void componentMoved(ComponentEvent e)
See Also:
ComponentListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void componentRemoved(ContainerEvent e)
See Also:
ContainerListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void componentResized(ComponentEvent e)
See Also:
ComponentListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void componentShown(ComponentEvent e)
See Also:
ComponentListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void focusGained(FocusEvent e)
See Also:
FocusListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void focusLost(FocusEvent e)
See Also:
FocusListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static <T extends EventListener> T[] getListeners(EventListener l,
                                                         Class<T> listenerType)
See Also:
ClassCastException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void hierarchyChanged(HierarchyEvent e)
See Also:
HierarchyEvent.getChangeFlags(), HierarchyListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void inputMethodTextChanged(InputMethodEvent e)
See Also:
InputMethodListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void itemStateChanged(ItemEvent e)
See Also:
ItemListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void keyPressed(KeyEvent e)
See Also:
KeyListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void keyReleased(KeyEvent e)
See Also:
KeyListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void keyTyped(KeyEvent e)
See Also:
KeyListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseClicked(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseDragged(MouseEvent e)
See Also:
MouseMotionListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseEntered(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseExited(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseMoved(MouseEvent e)
See Also:
MouseMotionListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mousePressed(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseReleased(MouseEvent e)
See Also:
MouseListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void mouseWheelMoved(MouseWheelEvent e)
See Also:
MouseWheelListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ActionListener remove(ActionListener l,
                                    ActionListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AdjustmentListener remove(AdjustmentListener l,
                                        AdjustmentListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ComponentListener remove(ComponentListener l,
                                       ComponentListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ContainerListener remove(ContainerListener l,
                                       ContainerListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static FocusListener remove(FocusListener l,
                                   FocusListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static HierarchyBoundsListener remove(HierarchyBoundsListener l,
                                             HierarchyBoundsListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static HierarchyListener remove(HierarchyListener l,
                                       HierarchyListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static InputMethodListener remove(InputMethodListener l,
                                         InputMethodListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static ItemListener remove(ItemListener l,
                                  ItemListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static KeyListener remove(KeyListener l,
                                 KeyListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static MouseListener remove(MouseListener l,
                                   MouseListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static MouseMotionListener remove(MouseMotionListener l,
                                         MouseMotionListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static MouseWheelListener remove(MouseWheelListener l,
                                        MouseWheelListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static TextListener remove(TextListener l,
                                  TextListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static WindowFocusListener remove(WindowFocusListener l,
                                         WindowFocusListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static WindowListener remove(WindowListener l,
                                    WindowListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static WindowStateListener remove(WindowStateListener l,
                                         WindowStateListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected EventListener remove(EventListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static EventListener removeInternal(EventListener l,
                                              EventListener oldl)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected static void save(ObjectOutputStream s,
                           String k,
                           EventListener l)
                    throws IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void saveInternal(ObjectOutputStream s,
                            String k)
                     throws IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void textValueChanged(TextEvent e)
See Also:
TextListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowActivated(WindowEvent e)
See Also:
WindowListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowClosed(WindowEvent e)
See Also:
WindowListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowClosing(WindowEvent e)
See Also:
WindowListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowDeactivated(WindowEvent e)
See Also:
WindowListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowDeiconified(WindowEvent e)
See Also:
WindowListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowGainedFocus(WindowEvent e)
See Also:
WindowFocusListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowIconified(WindowEvent e)
See Also:
Frame.setIconImage(java.awt.Image), WindowListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowLostFocus(WindowEvent e)
See Also:
WindowFocusListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowOpened(WindowEvent e)
See Also:
WindowListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void windowStateChanged(WindowEvent e)
See Also:
WindowStateListener
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags