edu.cmu.cs.able.gaugeInfrastructure.Events
Class ValueEvent
java.lang.Object
|
+--edu.cmu.cs.able.gaugeInfrastructure.util.GaugeID
|
+--edu.cmu.cs.able.gaugeInfrastructure.Events.GaugeEvent
|
+--edu.cmu.cs.able.gaugeInfrastructure.Events.ValueEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ValueEvent
- extends GaugeEvent
An event generated when a gauge reports a value
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
propertyName
The model property that the value is associated with |
java.lang.String |
value
The value reported |
java.lang.String |
valueName
The name of the value |
Fields inherited from class edu.cmu.cs.able.gaugeInfrastructure.Events.GaugeEvent |
status |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
valueName
public java.lang.String valueName
- The name of the value
propertyName
public java.lang.String propertyName
- The model property that the value is associated with
value
public java.lang.String value
- The value reported
ValueEvent
public ValueEvent(GaugeID gauge)
- Creates new ValueEvent
- Parameters:
gauge
- The ID of the gauge that generated the event