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

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

public class AxisSelectionEvent
extends GwtEvent<AxisSelectionEvent.AxisSelectionHandler>

Fired when the Axis is clicked.


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

AxisSelectionEvent

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

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

getType

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

Returns:
returns the handler type

getAssociatedType

public GwtEvent.Type<AxisSelectionEvent.AxisSelectionHandler> getAssociatedType()
Overrides:
getAssociatedType in class GwtEvent<AxisSelectionEvent.AxisSelectionHandler>

getIndex

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

Returns:
the index of the axis item

getValue

public String getValue()
Returns the value of the axis item.

Returns:
the value of the axis item


Copyright © 2011. All Rights Reserved.