Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.paradoxpoint.libitina.option
Interface OptionListener  view OptionListener download OptionListener.java

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
OptionAdapter

public interface OptionListener
extends java.util.EventListener

The listener interface for receiving option events. The class that is interested in processing an item event implements this interface. The object created with that class is then registered with a component using the component's addOptionListener method. When an option event occurs, the listener object's optionStateChanged method is invoked.


Method Summary
 AbstractOption getOption()
          Returns the name of the option in whihc this listener is interested.
 void optionStateChanged(OptionEvent e)
          This method gets called when an option's state is changed.
 

Method Detail

optionStateChanged

public void optionStateChanged(OptionEvent e)
This method gets called when an option's state is changed.


getOption

public AbstractOption getOption()
Returns the name of the option in whihc this listener is interested.