jACOB 2.7 API Documentation.

de.tif.jacob.screen.event
Class IBarChartEventHandler

java.lang.Object
  extended by EventHandler
      extended by de.tif.jacob.screen.event.GuiEventHandler
          extended by de.tif.jacob.screen.event.IGroupMemberEventHandler
              extended by de.tif.jacob.screen.event.IChartEventHandler
                  extended by de.tif.jacob.screen.event.IBarChartEventHandler

public abstract class IBarChartEventHandler
extends IChartEventHandler

Abstract event handler class for bar charts. Derived implementations of this event handler class have to be used to "hook" application-specific business logic to bar charts.


Field Summary
static java.lang.String RCS_ID
          The internal revision control system id.
static java.lang.String RCS_REV
          The internal revision control system id in short form.
 
Constructor Summary
IBarChartEventHandler()
           
 
Method Summary
 void onClick(IClientContext context, IChart chart, int barIndex)
          This hook method will be called, if the user has clicked on one bar in the chart.
 
Methods inherited from class de.tif.jacob.screen.event.IChartEventHandler
getColors, getDataElements, getLegendLabels, getTitle, getXAxisLabels, getXAxisTitle, getYAxisTitle
 
Methods inherited from class de.tif.jacob.screen.event.IGroupMemberEventHandler
onGroupStatusChanged, onHide, onShow
 
Methods inherited from class de.tif.jacob.screen.event.GuiEventHandler
alert, alert, alert
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RCS_ID

public static final transient java.lang.String RCS_ID
The internal revision control system id.

See Also:
Constant Field Values

RCS_REV

public static final transient java.lang.String RCS_REV
The internal revision control system id in short form.

See Also:
Constant Field Values
Constructor Detail

IBarChartEventHandler

public IBarChartEventHandler()
Method Detail

onClick

public void onClick(IClientContext context,
                    IChart chart,
                    int barIndex)
             throws java.lang.Exception
This hook method will be called, if the user has clicked on one bar in the chart. Upon this event business logic can be added by means of overwriting this method.

Parameters:
context - The current client context
chart - The chart itself
barIndex - The index of the bar which has been clicked
Throws:
java.lang.Exception

jACOB 2.7 API Documentation.