Class MetricsGaugeData
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.web.components.react.MetricsGaugeData
 
- 
- All Implemented Interfaces:
- ComponentData
 
 public class MetricsGaugeData extends java.lang.Object implements ComponentData Filename: MetricsGaugeData.java Created on Apr 11, 2016 Author: Kathy Applebaum Copyright Inductive Automation 2016 Project: gateway-apiAllows metrics to supply data to a gauge.js component in a form the component will like. 
- 
- 
Constructor SummaryConstructors Constructor Description MetricsGaugeData(com.codahale.metrics.Metric metric, java.lang.String description)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetFloatFormat(java.text.DecimalFormat floatFormat)voidsetIntegerFormat(java.text.DecimalFormat format)JSONObjecttoJson()
 
- 
- 
- 
Method Detail- 
setIntegerFormatpublic void setIntegerFormat(java.text.DecimalFormat format) 
 - 
setFloatFormatpublic void setFloatFormat(java.text.DecimalFormat floatFormat) 
 - 
toJsonpublic JSONObject toJson() throws JSONException - Specified by:
- toJsonin interface- ComponentData
- Throws:
- JSONException
 
 
- 
 
-