com.googlecode.wickedcharts.highcharts.options.interaction
Class InteractionEvent

java.lang.Object
  extended by com.googlecode.wickedcharts.highcharts.options.interaction.InteractionEvent

public class InteractionEvent
extends Object

This Event contains information about which Point or which series has been interacted with.

Author:
Tom Hombergs (tom.hombergs@gmail.com)

Constructor Summary
InteractionEvent()
           
 
Method Summary
 Options getSelectedChart()
          Returns the Options of the chart which was interacted with.
 Point getSelectedPoint()
          Returns the Point which was interacted with.
 Series<?> getSelectedSeries()
          Returns the Series which was interacted with.
 void setSelectedChart(Options selectedChart)
           
 void setSelectedPoint(Point selectedPoint)
           
 void setSelectedSeries(Series<?> selectedSeries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteractionEvent

public InteractionEvent()
Method Detail

getSelectedChart

public Options getSelectedChart()
Returns the Options of the chart which was interacted with.

Returns:
the chart the user interacted with. This value must never be null.

setSelectedChart

public void setSelectedChart(Options selectedChart)

getSelectedSeries

public Series<?> getSelectedSeries()
Returns the Series which was interacted with.

Returns:
the Series the user interacted with. This value must never be null.

setSelectedSeries

public void setSelectedSeries(Series<?> selectedSeries)

getSelectedPoint

public Point getSelectedPoint()
Returns the Point which was interacted with.

Returns:
the Point the user interacted with. This value may be null if the user interacted with a Series and not directly with a Point.

setSelectedPoint

public void setSelectedPoint(Point selectedPoint)


Copyright © 2013. All Rights Reserved.