Interface IJLChartActionListener

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
BooleanTrend, DualSpectrumImageViewer, NonAttrNumberSpectrumViewer, NumberSpectrumViewer, StaticChartMathExpression, Trend

public interface IJLChartActionListener extends EventListener, Serializable
An interface to handle some user defined action available from the chart contextual menu
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the user select a user action (available from contextual chart menu)
    boolean
    Called when the the action name starting with 'chk' (displayed as check box menu item) and each time the chart menu is shown.
  • Method Details

    • 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:
    • 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)
      Returns:
      Action state (true to execute)
      See Also: