OME
Class CheckboxChooser.CheckboxChoiceListener

java.lang.Object
  |
  +--OME.CheckboxChooser.CheckboxChoiceListener
Enclosing class:
CheckboxChooser

protected class CheckboxChooser.CheckboxChoiceListener
extends java.lang.Object
implements java.awt.event.ItemListener

This class acts as a checkbox listener which toggles the state of the Choice associated with the checkbox when its state is toggled.


Constructor Summary
CheckboxChooser.CheckboxChoiceListener(Choice c)
          Creates a CheckboxChoiceListener with the specified choice.
 
Method Summary
 void itemStateChanged(java.awt.event.ItemEvent e)
          Acts as a listener which toggles the state of the choice associated with the checkbox, when it's state is toggled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckboxChooser.CheckboxChoiceListener

public CheckboxChooser.CheckboxChoiceListener(Choice c)
Creates a CheckboxChoiceListener with the specified choice.
Parameters:
Choice - the choice associated with this Checkbox.
Method Detail

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Acts as a listener which toggles the state of the choice associated with the checkbox, when it's state is toggled.
Specified by:
itemStateChanged in interface java.awt.event.ItemListener