View Javadoc

1   /*
2    * OuvinteMudancaTemperatura.java
3    *
4    * Created on 12 de Mar�o de 2007, 12:20
5    *
6    * To change this template, choose Tools | Template Manager
7    * and open the template in the editor.
8    */
9   
10  package tempcontroller.base;
11  
12  /**
13   * Ouvinte de eventos de mudança de temperatura.
14   *
15   * @author Mauricio
16   */
17  public interface IOuvinteMudancaTemperatura {
18      /**
19       * Método chamado quando ouve mudança de temperatura.
20       * @param temperatura Nova temperatura.
21       */
22      void novaTemperatura(double temperatura); 
23      
24      /**
25       * Método chamado quando a temperatura alvo foi alcançada.
26       * @param temperatura que foi alcançada.
27       */
28      void temperaturaAlvoAlcancada(double temperatura);
29  }