org.xwiki.gwt.user.client
Class DragListenerCollection
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<DragListener>
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
|
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 |
DragListenerCollection
public DragListenerCollection()
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.