public class SpriteOverEvent
extends <any>
Sprite
.Modifier and Type | Class and Description |
---|---|
static interface |
SpriteOverEvent.HasSpriteOverHandlers
A widget that implements this interface is a public source of
SpriteOverEvent events. |
static interface |
SpriteOverEvent.SpriteOverHandler
Handler class for
SpriteOverEvent events. |
Constructor and Description |
---|
SpriteOverEvent(Sprite sprite,
Event event)
Creates a new event with the given sprite.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(SpriteOverEvent.SpriteOverHandler 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 SpriteOverEvent(Sprite sprite, Event event)
sprite
- the sprite that caused the eventpublic static <any> getType()
public <any> getAssociatedType()
public Event getBrowserEvent()
public Sprite getSprite()
protected void dispatch(SpriteOverEvent.SpriteOverHandler handler)
Copyright © 2018. All rights reserved.