com.extjs.gxt.charts.client.event
Class ChartEvent

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.DomEvent
          extended by com.extjs.gxt.ui.client.event.ComponentEvent
              extended by com.extjs.gxt.ui.client.event.BoxComponentEvent
                  extended by com.extjs.gxt.charts.client.event.ChartEvent

public class ChartEvent
extends BoxComponentEvent

Chart and ChartModel event type.


Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent
event
 
Constructor Summary
ChartEvent(Chart chart)
           
 
Method Summary
 Chart getChart()
          Returns the source chart.
 ChartConfig getChartConfig()
          Returns the source chart config.
 ChartModel getChartModel()
          Returns the source chart model.
 DataConfig getDataType()
          Returns the source data type.
 java.lang.Number getValue()
          Returns the data value.
 void setChart(Chart chart)
          Sets the source chart.
 void setChartConfig(ChartConfig chartConfig)
          Sets the source chart config.
 void setChartModel(ChartModel chartModel)
          Sets the source chart model.
 void setDataType(DataConfig dataType)
          Sets the source data type.
 void setValue(java.lang.Number value)
          Sets the source value.
 
Methods inherited from class com.extjs.gxt.ui.client.event.BoxComponentEvent
getBoxComponent, getHeight, getSize, getWidth, getX, getY, setBoxComponent, setHeight, setSize, setWidth, setX, setY
 
Methods inherited from class com.extjs.gxt.ui.client.event.ComponentEvent
getComponent, getState, setComponent, setState
 
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartEvent

public ChartEvent(Chart chart)
Method Detail

getChart

public Chart getChart()
Returns the source chart.

Returns:
the source chart

getChartConfig

public ChartConfig getChartConfig()
Returns the source chart config.

Returns:
the chart config

getChartModel

public ChartModel getChartModel()
Returns the source chart model.

Returns:
the chart model

getDataType

public DataConfig getDataType()
Returns the source data type.

Returns:
the source data type

getValue

public java.lang.Number getValue()
Returns the data value.

Returns:
the value

setChart

public void setChart(Chart chart)
Sets the source chart.

Parameters:
chart - the chart

setChartConfig

public void setChartConfig(ChartConfig chartConfig)
Sets the source chart config.

Parameters:
chartConfig - the chart config

setChartModel

public void setChartModel(ChartModel chartModel)
Sets the source chart model.

Parameters:
chartModel - the source chart model

setDataType

public void setDataType(DataConfig dataType)
Sets the source data type.

Parameters:
dataType - the data type

setValue

public void setValue(java.lang.Number value)
Sets the source value.

Parameters:
value - the source value