org.apache.pivot.charts
Interface ChartViewCategoryListener

All Known Implementing Classes:
ChartViewSkin

public interface ChartViewCategoryListener

Chart view category listener interface.


Method Summary
 void categoriesRemoved(ChartView chartView, int index, Sequence<ChartView.Category> categories)
          Fired when a category is removed from a chart view.
 void categoryInserted(ChartView chartView, int index)
          Fired when a category is inserted into a chart view.
 void categoryKeyChanged(ChartView chartView, int index, String previousKey)
          Fired when a chart view's category key changes.
 void categoryLabelChanged(ChartView chartView, int index, String previousLabel)
          Fired when a chart view's category label changes.
 

Method Detail

categoryInserted

void categoryInserted(ChartView chartView,
                      int index)
Fired when a category is inserted into a chart view.

Parameters:
chartView -
index -

categoriesRemoved

void categoriesRemoved(ChartView chartView,
                       int index,
                       Sequence<ChartView.Category> categories)
Fired when a category is removed from a chart view.

Parameters:
chartView -
index -
categories -

categoryKeyChanged

void categoryKeyChanged(ChartView chartView,
                        int index,
                        String previousKey)
Fired when a chart view's category key changes.

Parameters:
chartView -
index -
previousKey -

categoryLabelChanged

void categoryLabelChanged(ChartView chartView,
                          int index,
                          String previousLabel)
Fired when a chart view's category label changes.

Parameters:
chartView -
index -
previousLabel -