org.xwiki.gwt.user.client
Class DragListenerCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<DragListener>
              extended by org.xwiki.gwt.user.client.DragListenerCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<DragListener>, Collection<DragListener>, List<DragListener>, RandomAccess

public class DragListenerCollection
extends ArrayList<DragListener>

A collection of drag listeners.

Version:
$Id: 7bd03aeb79bf2761ef9cddbf163812051c4149b6 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DragListenerCollection()
           
 
Method Summary
 void fireDrag(com.google.gwt.user.client.ui.Widget sender, int x, int y)
          Notifies all the listeners in this collection of the Drag event.
 void fireDragEnd(com.google.gwt.user.client.ui.Widget sender, int x, int y)
          Notifies all the listeners in this collection of the DragEnd event.
 void fireDragStart(com.google.gwt.user.client.ui.Widget sender, int x, int y)
          Notifies all the listeners in this collection of the DragStart event.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

DragListenerCollection

public DragListenerCollection()
Method Detail

fireDragStart

public void fireDragStart(com.google.gwt.user.client.ui.Widget sender,
                          int x,
                          int y)
Notifies all the listeners in this collection of the DragStart event.

Parameters:
sender - The object which generated the event.
x - the horizontal coordinate of the mouse when the event was fired.
y - the vertical coordinate of the mouse when the event was fired.

fireDrag

public void fireDrag(com.google.gwt.user.client.ui.Widget sender,
                     int x,
                     int y)
Notifies all the listeners in this collection of the Drag event.

Parameters:
sender - The object which generated the event.
x - the horizontal coordinate of the mouse when the event was fired.
y - the vertical coordinate of the mouse when the event was fired.

fireDragEnd

public void fireDragEnd(com.google.gwt.user.client.ui.Widget sender,
                        int x,
                        int y)
Notifies all the listeners in this collection of the DragEnd event.

Parameters:
sender - The object which generated the event.
x - the horizontal coordinate of the mouse when the event was fired.
y - the vertical coordinate of the mouse when the event was fired.


Copyright © 2004–2015 XWiki. All rights reserved.