com.sencha.gxt.chart.client.chart.event
Class SeriesSelectionEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<SeriesSelectionEvent.SeriesSelectionHandler>
          extended by com.sencha.gxt.chart.client.chart.event.SeriesSelectionEvent

public class SeriesSelectionEvent
extends GwtEvent<SeriesSelectionEvent.SeriesSelectionHandler>

Fired when the Series is clicked.


Nested Class Summary
static interface SeriesSelectionEvent.HasSeriesSelectionHandlers
          A widget that implements this interface is a public source of SeriesSelectionEvent events.
static interface SeriesSelectionEvent.SeriesSelectionHandler
          Handler class for SeriesSelectionEvent events.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
SeriesSelectionEvent(Number value, int index)
          Creates a new event with the given value and index.
 
Method Summary
 GwtEvent.Type<SeriesSelectionEvent.SeriesSelectionHandler> getAssociatedType()
           
 int getIndex()
          Returns the index of the series item.
static GwtEvent.Type<SeriesSelectionEvent.SeriesSelectionHandler> getType()
          Gets the type associated with this event.
 Number getValue()
          Returns the value of the series item.
 
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

SeriesSelectionEvent

public SeriesSelectionEvent(Number value,
                            int index)
Creates a new event with the given value and index.

Parameters:
value - the value of the series item
index - the index of the series item
Method Detail

getType

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

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<SeriesSelectionEvent.SeriesSelectionHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<SeriesSelectionEvent.SeriesSelectionHandler>

getIndex

public int getIndex()
Returns the index of the series item.

Returns:
the index of the series item

getValue

public Number getValue()
Returns the value of the series item.

Returns:
the value of the series item


Copyright © 2011. All Rights Reserved.