com.sencha.gxt.chart.client.draw.sprite
Class SpriteSelectionEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<SpriteSelectionEvent.SpriteSelectionHandler>
          extended by com.sencha.gxt.chart.client.draw.sprite.SpriteSelectionEvent

public class SpriteSelectionEvent
extends GwtEvent<SpriteSelectionEvent.SpriteSelectionHandler>

Fired when an the mouse leaves an item in the Series.


Nested Class Summary
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.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
SpriteSelectionEvent(Sprite sprite)
          Creates a new event with the given sprite.
 
Method Summary
 GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> getAssociatedType()
           
 Sprite getSprite()
          Returns the sprite that caused the event.
static GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> getType()
          Gets the type associated with this event.
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
getSource
 
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

SpriteSelectionEvent

public SpriteSelectionEvent(Sprite sprite)
Creates a new event with the given sprite.

Parameters:
sprite - the sprite that caused the event
Method Detail

getType

public static GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> getType()
Gets the type associated with this event.

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<SpriteSelectionEvent.SpriteSelectionHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<SpriteSelectionEvent.SpriteSelectionHandler>

getSprite

public Sprite getSprite()
Returns the sprite that caused the event.

Returns:
the sprite that caused the event


Copyright © 2011. All Rights Reserved.