bibliothek.extension.gui.dock.preference.preferences.choice
Interface ChoiceListener


public interface ChoiceListener

A listener that is added to a Choice.

Author:
Benjamin Sigg

Method Summary
 void inserted(Choice choice, int indexStart, int indexEnd)
          This method is called if some new entries have been added to choice
 void removed(Choice choice, int indexStart, int indexEnd)
          This method is called if some new entries have been removed from choice
 void updated(Choice choice, int indexStart, int indexEnd)
          This method is called if some entries have been updated, e.g. if the text of some entries changed
 

Method Detail

inserted

void inserted(Choice choice,
              int indexStart,
              int indexEnd)
This method is called if some new entries have been added to choice

Parameters:
choice - the source of the event
indexStart - the index of the first affected entry
indexEnd - the index of the last affected entry

removed

void removed(Choice choice,
             int indexStart,
             int indexEnd)
This method is called if some new entries have been removed from choice

Parameters:
choice - the source of the event
indexStart - the index of the first affected entry
indexEnd - the index of the last affected entry

updated

void updated(Choice choice,
             int indexStart,
             int indexEnd)
This method is called if some entries have been updated, e.g. if the text of some entries changed

Parameters:
choice - the source of the event
indexStart - the index of the first affected entry
indexEnd - the index of the last affected entry