fr.esrf.tangoatk.widget.util.chart
Interface IJLChartActionListener

All Superinterfaces:
java.util.EventListener, java.io.Serializable
All Known Implementing Classes:
BooleanTrend, DualSpectrumImageViewer, NonAttrNumberSpectrumViewer, NumberSpectrumViewer, StaticChartMathExpression, Trend

public interface IJLChartActionListener
extends java.util.EventListener, java.io.Serializable

An interface to handle some user defined action available from the chart contextual menu


Method Summary
 void actionPerformed(JLChartActionEvent evt)
          Called when the user select a user action (available from contextual chart menu)
 boolean getActionState(JLChartActionEvent evt)
          Called when the the action name starting with 'chk' (displayed as check box menu item) and each time the chart menu is shown.
 

Method Detail

actionPerformed

void actionPerformed(JLChartActionEvent evt)
Called when the user select a user action (available from contextual chart menu)

Parameters:
evt - Event object (containing acion name and state)
See Also:
JLChart.addUserAction(java.lang.String)

getActionState

boolean getActionState(JLChartActionEvent evt)
Called when the the action name starting with 'chk' (displayed as check box menu item) and each time the chart menu is shown. if several listener handle the same action, the result will be a logical and of all results.

Parameters:
evt - Event object (containing acion name)
See Also:
JLChart.addUserAction(java.lang.String)