com.sencha.gxt.dnd.core.client
Class DndDragStartEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<DndDragStartEvent.DndDragStartHandler>
          extended by com.sencha.gxt.dnd.core.client.DndDragStartEvent
All Implemented Interfaces:
CancellableEvent

public class DndDragStartEvent
extends GwtEvent<DndDragStartEvent.DndDragStartHandler>
implements CancellableEvent


Nested Class Summary
static interface DndDragStartEvent.DndDragStartHandler
           
static interface DndDragStartEvent.HasDndDragStartHandlers
          A widget that implements this interface is a public source of DndDragStartEvent events.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
DndDragStartEvent(Widget target, DragStartEvent event, StatusProxy status, java.lang.Object data)
           
 
Method Summary
 GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> getAssociatedType()
           
 java.lang.Object getData()
           
 DragStartEvent getDragStartEvent()
           
 Draggable getSource()
           
 StatusProxy getStatusProxy()
           
 Widget getTarget()
           
static GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> getType()
          Gets the type associated with this event.
 boolean isCancelled()
          Returns true if the event is cancelled.
 void setCancelled(boolean cancel)
          True to cancel the event.
 void setData(java.lang.Object data)
           
 
Methods inherited from class com.google.web.bindery.event.shared.Event
toDebugString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DndDragStartEvent

public DndDragStartEvent(Widget target,
                         DragStartEvent event,
                         StatusProxy status,
                         java.lang.Object data)
Method Detail

getType

public static GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> getType()
Gets the type associated with this event.

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<DndDragStartEvent.DndDragStartHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<DndDragStartEvent.DndDragStartHandler>

getData

public java.lang.Object getData()

getDragStartEvent

public DragStartEvent getDragStartEvent()

getSource

public Draggable getSource()
Overrides:
getSource in class GwtEvent<DndDragStartEvent.DndDragStartHandler>

getStatusProxy

public StatusProxy getStatusProxy()

getTarget

public Widget getTarget()

isCancelled

public boolean isCancelled()
Description copied from interface: CancellableEvent
Returns true if the event is cancelled.

Specified by:
isCancelled in interface CancellableEvent
Returns:
true for cancelled

setCancelled

public void setCancelled(boolean cancel)
Description copied from interface: CancellableEvent
True to cancel the event.

Specified by:
setCancelled in interface CancellableEvent
Parameters:
cancel - true to cancel

setData

public void setData(java.lang.Object data)


Copyright © 2012. All Rights Reserved.