public class SpriteSelectionEvent extends GwtEvent<SpriteSelectionEvent.SpriteSelectionHandler>
Series
.Modifier and Type | Class and Description |
---|---|
static interface |
SpriteSelectionEvent.HasSpriteSelectionHandlers
A widget that implements this interface is a public source of
SpriteSelectionEvent events. |
static interface |
SpriteSelectionEvent.SpriteSelectionHandler
Handler class for
SpriteSelectionEvent events. |
GwtEvent.Type<H>
Constructor and Description |
---|
SpriteSelectionEvent(Sprite sprite,
Event event)
Creates a new event with the given sprite.
|
Modifier and Type | Method and Description |
---|---|
GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> |
getAssociatedType() |
Event |
getBrowserEvent()
Returns the browser event that initiated the selection event.
|
Sprite |
getSprite()
Returns the sprite that caused the event.
|
static GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> |
getType()
Gets the type associated with this event.
|
toDebugString, toString
public static GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> getType()
public GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<SpriteSelectionEvent.SpriteSelectionHandler>
public Event getBrowserEvent()
public Sprite getSprite()
Copyright © 2015. All rights reserved.