com.ebmwebsourcing.geasytools.geasyui.impl.droppable
Class DropAcceptedEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<DropHandler>
      extended by com.ebmwebsourcing.geasytools.geasyui.impl.droppable.DropAcceptedEvent
All Implemented Interfaces:
IDropAcceptedEvent

public class DropAcceptedEvent
extends com.google.gwt.event.shared.GwtEvent<DropHandler>
implements IDropAcceptedEvent


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Field Summary
static com.google.gwt.event.shared.GwtEvent.Type<DropHandler> TYPE
           
 
Constructor Summary
DropAcceptedEvent(IDraggableElement draggableElement, float x, float y)
           
 
Method Summary
protected  void dispatch(DropHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<DropHandler> getAssociatedType()
           
 IDraggableElement getDraggableElement()
          The draggable element for which the drop was accepted
 float getX()
          X position where the drop was made relatively to the droppable element
 float getY()
          Y position where the drop was made relatively to the droppable element
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static com.google.gwt.event.shared.GwtEvent.Type<DropHandler> TYPE
Constructor Detail

DropAcceptedEvent

public DropAcceptedEvent(IDraggableElement draggableElement,
                         float x,
                         float y)
Method Detail

dispatch

protected void dispatch(DropHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<DropHandler>

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<DropHandler> getAssociatedType()
Specified by:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<DropHandler>

getDraggableElement

public IDraggableElement getDraggableElement()
Description copied from interface: IDropAcceptedEvent
The draggable element for which the drop was accepted

Specified by:
getDraggableElement in interface IDropAcceptedEvent
Returns:

getX

public float getX()
Description copied from interface: IDropAcceptedEvent
X position where the drop was made relatively to the droppable element

Specified by:
getX in interface IDropAcceptedEvent
Returns:
float

getY

public float getY()
Description copied from interface: IDropAcceptedEvent
Y position where the drop was made relatively to the droppable element

Specified by:
getY in interface IDropAcceptedEvent
Returns:
float


Copyright © 2010-2011 Petals Link. All Rights Reserved.