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

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

public class LegendSelectionEvent
extends GwtEvent<LegendSelectionEvent.LegendSelectionHandler>

Fired when the Legend is clicked.


Nested Class Summary
static interface LegendSelectionEvent.HasLegendSelectionHandlers
          A widget that implements this interface is a public source of LegendSelectionEvent events.
static interface LegendSelectionEvent.LegendSelectionHandler
          Handler class for LegendSelectionEvent events.
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
GwtEvent.Type<H>
 
Constructor Summary
LegendSelectionEvent(LegendItem<?> item)
          Creates a new event with the given legend item.
 
Method Summary
 GwtEvent.Type<LegendSelectionEvent.LegendSelectionHandler> getAssociatedType()
           
 LegendItem<?> getItem()
          Returns the legend item that fired the event.
static GwtEvent.Type<LegendSelectionEvent.LegendSelectionHandler> 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

LegendSelectionEvent

public LegendSelectionEvent(LegendItem<?> item)
Creates a new event with the given legend item.

Parameters:
item - the legend item that fired the event
Method Detail

getType

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

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<LegendSelectionEvent.LegendSelectionHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<LegendSelectionEvent.LegendSelectionHandler>

getItem

public LegendItem<?> getItem()
Returns the legend item that fired the event.

Returns:
the legend item that fired the event


Copyright © 2011. All Rights Reserved.