public class MoveEvent extends GwtEvent<MoveEvent.MoveHandler>
Modifier and Type | Class and Description |
---|---|
static interface |
MoveEvent.HasMoveHandlers
A widget that implements this interface is a public source of
MoveEvent events. |
static interface |
MoveEvent.MoveHandler
Handler class for
MoveEvent events. |
GwtEvent.Type<H>
Constructor and Description |
---|
MoveEvent(int x,
int y) |
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<MoveEvent.MoveHandler> |
getAssociatedType() |
Component |
getSource() |
static GwtEvent.Type<MoveEvent.MoveHandler> |
getType()
Gets the type associated with this event.
|
int |
getX()
Returns the widget's page coordinates.
|
int |
getY()
Returns the widget's page coordinates.
|
toDebugString, toString
public static GwtEvent.Type<MoveEvent.MoveHandler> getType()
public GwtEvent.Type<MoveEvent.MoveHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<MoveEvent.MoveHandler>
public Component getSource()
getSource
in class GwtEvent<MoveEvent.MoveHandler>
public int getX()
public int getY()
Copyright © 2015. All rights reserved.