Java Doc for DnDEventMulticaster.java in  » 6.0-JDK-Core » AWT » java » awt » dnd » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » AWT » java.awt.dnd 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.AWTEventMulticaster
      java.awt.dnd.DnDEventMulticaster

DnDEventMulticaster
class DnDEventMulticaster extends AWTEventMulticaster implements DragSourceListener,DragSourceMotionListener(Code)
A class extends AWTEventMulticaster to implement efficient and thread-safe multi-cast event dispatching for the drag-and-drop events defined in the java.awt.dnd package.
version:
   1.14, 06/05/07
since:
   1.4
See Also:   AWTEventMulticaster



Constructor Summary
protected  DnDEventMulticaster(EventListener a, EventListener b)
     Creates an event multicaster instance which chains listener-a with listener-b.

Method Summary
public static  DragSourceListeneradd(DragSourceListener a, DragSourceListener b)
     Adds drag-source-listener-a with drag-source-listener-b and returns the resulting multicast listener.
public static  DragSourceMotionListeneradd(DragSourceMotionListener a, DragSourceMotionListener b)
     Adds drag-source-motion-listener-a with drag-source-motion-listener-b and returns the resulting multicast listener.
protected static  EventListeneraddInternal(EventListener a, EventListener b)
     Returns the resulting multicast listener from adding listener-a and listener-b together.
public  voiddragDropEnd(DragSourceDropEvent dsde)
     Handles the DragSourceDropEvent by invoking dragDropEnd on listener-a and listener-b.
public  voiddragEnter(DragSourceDragEvent dsde)
     Handles the DragSourceDragEvent by invoking dragEnter on listener-a and listener-b.
public  voiddragExit(DragSourceEvent dse)
     Handles the DragSourceEvent by invoking dragExit on listener-a and listener-b.
public  voiddragMouseMoved(DragSourceDragEvent dsde)
     Handles the DragSourceDragEvent by invoking dragMouseMoved on listener-a and listener-b.
public  voiddragOver(DragSourceDragEvent dsde)
     Handles the DragSourceDragEvent by invoking dragOver on listener-a and listener-b.
public  voiddropActionChanged(DragSourceDragEvent dsde)
     Handles the DragSourceDragEvent by invoking dropActionChanged on listener-a and listener-b.
public static  DragSourceListenerremove(DragSourceListener l, DragSourceListener oldl)
     Removes the old drag-source-listener from drag-source-listener-l and returns the resulting multicast listener.
public static  DragSourceMotionListenerremove(DragSourceMotionListener l, DragSourceMotionListener ol)
     Removes the old drag-source-motion-listener from drag-source-motion-listener-l and returns the resulting multicast listener.
protected  EventListenerremove(EventListener oldl)
     Removes a listener from this multicaster and returns the resulting multicast listener.
protected static  EventListenerremoveInternal(EventListener l, EventListener oldl)
     Returns the resulting multicast listener after removing the old listener from listener-l.
protected static  voidsave(ObjectOutputStream s, String k, EventListener l)
    


Constructor Detail
DnDEventMulticaster
protected DnDEventMulticaster(EventListener a, EventListener b)(Code)
Creates an event multicaster instance which chains listener-a with listener-b. Input parameters a and b should not be null, though implementations may vary in choosing whether or not to throw NullPointerException in that case.
Parameters:
  a - listener-a
Parameters:
  b - listener-b




Method Detail
add
public static DragSourceListener add(DragSourceListener a, DragSourceListener b)(Code)
Adds drag-source-listener-a with drag-source-listener-b and returns the resulting multicast listener.
Parameters:
  a - drag-source-listener-a
Parameters:
  b - drag-source-listener-b



add
public static DragSourceMotionListener add(DragSourceMotionListener a, DragSourceMotionListener b)(Code)
Adds drag-source-motion-listener-a with drag-source-motion-listener-b and returns the resulting multicast listener.
Parameters:
  a - drag-source-motion-listener-a
Parameters:
  b - drag-source-motion-listener-b



addInternal
protected static EventListener addInternal(EventListener a, EventListener b)(Code)
Returns the resulting multicast listener from adding listener-a and listener-b together. If listener-a is null, it returns listener-b; If listener-b is null, it returns listener-a If neither are null, then it creates and returns a new AWTEventMulticaster instance which chains a with b.
Parameters:
  a - event listener-a
Parameters:
  b - event listener-b



dragDropEnd
public void dragDropEnd(DragSourceDropEvent dsde)(Code)
Handles the DragSourceDropEvent by invoking dragDropEnd on listener-a and listener-b.
Parameters:
  dsde - the DragSourceDropEvent



dragEnter
public void dragEnter(DragSourceDragEvent dsde)(Code)
Handles the DragSourceDragEvent by invoking dragEnter on listener-a and listener-b.
Parameters:
  dsde - the DragSourceDragEvent



dragExit
public void dragExit(DragSourceEvent dse)(Code)
Handles the DragSourceEvent by invoking dragExit on listener-a and listener-b.
Parameters:
  dse - the DragSourceEvent



dragMouseMoved
public void dragMouseMoved(DragSourceDragEvent dsde)(Code)
Handles the DragSourceDragEvent by invoking dragMouseMoved on listener-a and listener-b.
Parameters:
  dsde - the DragSourceDragEvent



dragOver
public void dragOver(DragSourceDragEvent dsde)(Code)
Handles the DragSourceDragEvent by invoking dragOver on listener-a and listener-b.
Parameters:
  e - the DragSourceDragEvent



dropActionChanged
public void dropActionChanged(DragSourceDragEvent dsde)(Code)
Handles the DragSourceDragEvent by invoking dropActionChanged on listener-a and listener-b.
Parameters:
  dsde - the DragSourceDragEvent



remove
public static DragSourceListener remove(DragSourceListener l, DragSourceListener oldl)(Code)
Removes the old drag-source-listener from drag-source-listener-l and returns the resulting multicast listener.
Parameters:
  l - drag-source-listener-l
Parameters:
  oldl - the drag-source-listener being removed



remove
public static DragSourceMotionListener remove(DragSourceMotionListener l, DragSourceMotionListener ol)(Code)
Removes the old drag-source-motion-listener from drag-source-motion-listener-l and returns the resulting multicast listener.
Parameters:
  l - drag-source-motion-listener-l
Parameters:
  ol - the drag-source-motion-listener being removed



remove
protected EventListener remove(EventListener oldl)(Code)
Removes a listener from this multicaster and returns the resulting multicast listener.
Parameters:
  oldl - the listener to be removed



removeInternal
protected static EventListener removeInternal(EventListener l, EventListener oldl)(Code)
Returns the resulting multicast listener after removing the old listener from listener-l. If listener-l equals the old listener OR listener-l is null, returns null. Else if listener-l is an instance of AWTEventMulticaster, then it removes the old listener from it. Else, returns listener l.
Parameters:
  l - the listener being removed from
Parameters:
  oldl - the listener being removed



save
protected static void save(ObjectOutputStream s, String k, EventListener l) throws IOException(Code)



Fields inherited from java.awt.AWTEventMulticaster
final protected EventListener ab(Code)(Java Doc)

Methods inherited from java.awt.AWTEventMulticaster
public void actionPerformed(ActionEvent e)(Code)(Java Doc)
public static ComponentListener add(ComponentListener a, ComponentListener b)(Code)(Java Doc)
public static ContainerListener add(ContainerListener a, ContainerListener b)(Code)(Java Doc)
public static FocusListener add(FocusListener a, FocusListener b)(Code)(Java Doc)
public static KeyListener add(KeyListener a, KeyListener b)(Code)(Java Doc)
public static MouseListener add(MouseListener a, MouseListener b)(Code)(Java Doc)
public static MouseMotionListener add(MouseMotionListener a, MouseMotionListener b)(Code)(Java Doc)
public static WindowListener add(WindowListener a, WindowListener b)(Code)(Java Doc)
public static WindowStateListener add(WindowStateListener a, WindowStateListener b)(Code)(Java Doc)
public static WindowFocusListener add(WindowFocusListener a, WindowFocusListener b)(Code)(Java Doc)
public static ActionListener add(ActionListener a, ActionListener b)(Code)(Java Doc)
public static ItemListener add(ItemListener a, ItemListener b)(Code)(Java Doc)
public static AdjustmentListener add(AdjustmentListener a, AdjustmentListener b)(Code)(Java Doc)
public static TextListener add(TextListener a, TextListener b)(Code)(Java Doc)
public static InputMethodListener add(InputMethodListener a, InputMethodListener b)(Code)(Java Doc)
public static HierarchyListener add(HierarchyListener a, HierarchyListener b)(Code)(Java Doc)
public static HierarchyBoundsListener add(HierarchyBoundsListener a, HierarchyBoundsListener b)(Code)(Java Doc)
public static MouseWheelListener add(MouseWheelListener a, MouseWheelListener b)(Code)(Java Doc)
protected static EventListener addInternal(EventListener a, EventListener b)(Code)(Java Doc)
public void adjustmentValueChanged(AdjustmentEvent e)(Code)(Java Doc)
public void ancestorMoved(HierarchyEvent e)(Code)(Java Doc)
public void ancestorResized(HierarchyEvent e)(Code)(Java Doc)
public void caretPositionChanged(InputMethodEvent e)(Code)(Java Doc)
public void componentAdded(ContainerEvent e)(Code)(Java Doc)
public void componentHidden(ComponentEvent e)(Code)(Java Doc)
public void componentMoved(ComponentEvent e)(Code)(Java Doc)
public void componentRemoved(ContainerEvent e)(Code)(Java Doc)
public void componentResized(ComponentEvent e)(Code)(Java Doc)
public void componentShown(ComponentEvent e)(Code)(Java Doc)
public void focusGained(FocusEvent e)(Code)(Java Doc)
public void focusLost(FocusEvent e)(Code)(Java Doc)
public static T[] getListeners(EventListener l, Class<T> listenerType)(Code)(Java Doc)
public void hierarchyChanged(HierarchyEvent e)(Code)(Java Doc)
public void inputMethodTextChanged(InputMethodEvent e)(Code)(Java Doc)
public void itemStateChanged(ItemEvent e)(Code)(Java Doc)
public void keyPressed(KeyEvent e)(Code)(Java Doc)
public void keyReleased(KeyEvent e)(Code)(Java Doc)
public void keyTyped(KeyEvent e)(Code)(Java Doc)
public void mouseClicked(MouseEvent e)(Code)(Java Doc)
public void mouseDragged(MouseEvent e)(Code)(Java Doc)
public void mouseEntered(MouseEvent e)(Code)(Java Doc)
public void mouseExited(MouseEvent e)(Code)(Java Doc)
public void mouseMoved(MouseEvent e)(Code)(Java Doc)
public void mousePressed(MouseEvent e)(Code)(Java Doc)
public void mouseReleased(MouseEvent e)(Code)(Java Doc)
public void mouseWheelMoved(MouseWheelEvent e)(Code)(Java Doc)
protected EventListener remove(EventListener oldl)(Code)(Java Doc)
public static ComponentListener remove(ComponentListener l, ComponentListener oldl)(Code)(Java Doc)
public static ContainerListener remove(ContainerListener l, ContainerListener oldl)(Code)(Java Doc)
public static FocusListener remove(FocusListener l, FocusListener oldl)(Code)(Java Doc)
public static KeyListener remove(KeyListener l, KeyListener oldl)(Code)(Java Doc)
public static MouseListener remove(MouseListener l, MouseListener oldl)(Code)(Java Doc)
public static MouseMotionListener remove(MouseMotionListener l, MouseMotionListener oldl)(Code)(Java Doc)
public static WindowListener remove(WindowListener l, WindowListener oldl)(Code)(Java Doc)
public static WindowStateListener remove(WindowStateListener l, WindowStateListener oldl)(Code)(Java Doc)
public static WindowFocusListener remove(WindowFocusListener l, WindowFocusListener oldl)(Code)(Java Doc)
public static ActionListener remove(ActionListener l, ActionListener oldl)(Code)(Java Doc)
public static ItemListener remove(ItemListener l, ItemListener oldl)(Code)(Java Doc)
public static AdjustmentListener remove(AdjustmentListener l, AdjustmentListener oldl)(Code)(Java Doc)
public static TextListener remove(TextListener l, TextListener oldl)(Code)(Java Doc)
public static InputMethodListener remove(InputMethodListener l, InputMethodListener oldl)(Code)(Java Doc)
public static HierarchyListener remove(HierarchyListener l, HierarchyListener oldl)(Code)(Java Doc)
public static HierarchyBoundsListener remove(HierarchyBoundsListener l, HierarchyBoundsListener oldl)(Code)(Java Doc)
public static MouseWheelListener remove(MouseWheelListener l, MouseWheelListener oldl)(Code)(Java Doc)
protected static EventListener removeInternal(EventListener l, EventListener oldl)(Code)(Java Doc)
protected static void save(ObjectOutputStream s, String k, EventListener l) throws IOException(Code)(Java Doc)
protected void saveInternal(ObjectOutputStream s, String k) throws IOException(Code)(Java Doc)
public void textValueChanged(TextEvent e)(Code)(Java Doc)
public void windowActivated(WindowEvent e)(Code)(Java Doc)
public void windowClosed(WindowEvent e)(Code)(Java Doc)
public void windowClosing(WindowEvent e)(Code)(Java Doc)
public void windowDeactivated(WindowEvent e)(Code)(Java Doc)
public void windowDeiconified(WindowEvent e)(Code)(Java Doc)
public void windowGainedFocus(WindowEvent e)(Code)(Java Doc)
public void windowIconified(WindowEvent e)(Code)(Java Doc)
public void windowLostFocus(WindowEvent e)(Code)(Java Doc)
public void windowOpened(WindowEvent e)(Code)(Java Doc)
public void windowStateChanged(WindowEvent e)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.