edu.princeton.cs.algs4.growingtree.framework
Interface OptionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
BSTTreeJPanel, OptionMainJPanel, TreeJDesktop, TreeJPanel

public interface OptionListener
extends java.util.EventListener

The listener interface for receiving Option events. The class that is interested in processing an Option event implements this interface, and the object created with that class is registered with a Component, using the object's addOptionListener method. When the action event occurs, that object's optionEventPerformed method is invoked.

Version:
1.1 9/15/01
Author:
Corey Sanders
See Also:
OptionEvent

Method Summary
 void optionEventPerformed(OptionEvent e)
          Invoked when an Option event occurs.
 

Method Detail

optionEventPerformed

void optionEventPerformed(OptionEvent e)
Invoked when an Option event occurs.