TemperatureChangeEvent.java
Go to the documentation of this file.
00001 /*
00002  * Copyright 2006 Phidgets Inc.  All rights reserved.
00003  */
00004 
00005 package com.phidgets.event;
00006 
00007 import com.phidgets.Phidget;
00008 
00014 public class TemperatureChangeEvent
00015 {
00016         Phidget source;
00017         int index;
00018         double value;
00019 
00025         public TemperatureChangeEvent(Phidget source, int index, double value) {
00026                 this.source = source;
00027                 this.index = index;
00028                 this.value = value;
00029         }
00030 
00038         public Phidget getSource() {
00039                 return source;
00040         }
00041 
00048         public int getIndex() {
00049                 return index;
00050         }
00051 
00057         public double getValue() {
00058                 return value;
00059         }
00060 
00066         public String toString() {
00067                 return source.toString() + " Temperature " + index + " changed to "
00068                   + value;
00069         }
00070 }


pedal_monitor
Author(s): Pedro Mendes
autogenerated on Fri Jun 6 2014 18:37:21