public class SpriteUpEvent
extends <any>
Modifier and Type | Class and Description |
---|---|
static interface |
SpriteUpEvent.HasSpriteUpHandlers
A widget that implements this interface is a public source of
SpriteUpEvent events. |
static interface |
SpriteUpEvent.SpriteUpHandler
Handler class for
SpriteUpEvent events. |
Constructor and Description |
---|
SpriteUpEvent(Sprite sprite,
Event event)
Creates a new event with the given sprite.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(SpriteUpEvent.SpriteUpHandler handler) |
<any> |
getAssociatedType() |
Event |
getBrowserEvent()
Returns the browser event that initiated the selection event.
|
Sprite |
getSprite()
Returns the sprite that caused the event.
|
static <any> |
getType()
Gets the type associated with this event.
|
public SpriteUpEvent(Sprite sprite, Event event)
sprite
- the sprite that caused the eventevent
- the event being handledpublic static <any> getType()
public <any> getAssociatedType()
public Event getBrowserEvent()
public Sprite getSprite()
protected void dispatch(SpriteUpEvent.SpriteUpHandler handler)
Copyright © 2018. All rights reserved.