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

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

public interface TreeMessageListener
extends java.util.EventListener

The listener interface for receiving TreeMessage events. The class that is interested in processing a TreeMesasge event implements this interface, and the object created with that class is registered with an TreeMessage Object, using the object's addTreeMessageListener method. When the action event occurs, that object's treeMessageEventPerformed method is invoked.

Version:
1.2 9/15/01
Author:
Corey Sanders

Method Summary
 void treeMessageEventPerformed(TreeMessageEvent e)
          Invoked when an Tree Message action occurs.
 

Method Detail

treeMessageEventPerformed

void treeMessageEventPerformed(TreeMessageEvent e)
Invoked when an Tree Message action occurs.