1 package com.timjohnstondev.unitconverter.view.listener;
2
3 import java.util.EventListener;
4
5 /**
6 * The listener interface for receiving {@link FactorChangeEvent}s. The class that is interested in processing an action
7 * event implements this interface, and the object created with that class is registered with a component, using the
8 * component's addFactorChangeListener method. When the factor change occurs, that object's factorChanged method is
9 * invoked.
10 */
11 public interface FactorChangeListener extends EventListener
12 {
13 /**
14 * Invoked when an factor change occurs.
15 *
16 * @param event the event
17 */
18 void factorChanged(FactorChangeEvent event);
19 }