|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<DragStartEvent.DragStartHandler>
com.sencha.gxt.fx.client.DragStartEvent
public class DragStartEvent
Represents the drag start event.
| Nested Class Summary | |
|---|---|
static interface |
DragStartEvent.DragStartHandler
Handler for DragStartEvent events. |
static interface |
DragStartEvent.HasDragStartHandlers
A widget that implements this interface is a public source of DragStartEvent events. |
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
DragStartEvent(Widget target,
Element startElement,
int x,
int y,
Event event)
|
|
| Method Summary | |
|---|---|
GwtEvent.Type<DragStartEvent.DragStartHandler> |
getAssociatedType()
|
int |
getHeight()
|
NativeEvent |
getNativeEvent()
Returns the native event. |
Draggable |
getSource()
|
Element |
getStartElement()
|
Widget |
getTarget()
|
static GwtEvent.Type<DragStartEvent.DragStartHandler> |
getType()
Gets the type associated with this event. |
int |
getWidth()
|
int |
getX()
Returns the widget's page coordinates. |
int |
getY()
Returns the widget's page coordinates. |
boolean |
isCancelled()
Returns true if the event is cancelled. |
void |
setCancelled(boolean cancel)
True to cancel the event. |
void |
setHeight(int height)
|
void |
setWidth(int width)
|
| 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 |
|---|
public DragStartEvent(Widget target,
Element startElement,
int x,
int y,
Event event)
| Method Detail |
|---|
public static GwtEvent.Type<DragStartEvent.DragStartHandler> getType()
public GwtEvent.Type<DragStartEvent.DragStartHandler> getAssociatedType()
getAssociatedType in class GwtEvent<DragStartEvent.DragStartHandler>public int getHeight()
public NativeEvent getNativeEvent()
public Draggable getSource()
getSource in class GwtEvent<DragStartEvent.DragStartHandler>public Element getStartElement()
public Widget getTarget()
public int getWidth()
public int getX()
public int getY()
public boolean isCancelled()
CancellableEvent
isCancelled in interface CancellableEventpublic void setCancelled(boolean cancel)
CancellableEvent
setCancelled in interface CancellableEventcancel - true to cancelpublic void setHeight(int height)
public void setWidth(int width)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||