Class TemperatureGauge
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.react.ReactAdapterComponent
in.virit.Gauge
in.virit.TemperatureGauge
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable
A specialized gauge for displaying temperature values with appropriate
color coding and range settings for temperature measurements.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Gauge
Gauge.GaugeArc, Gauge.GaugeLabels, Gauge.GaugeLabelStyle, Gauge.GaugePointer, Gauge.GaugeSubArc, Gauge.GaugeTickLabels, Gauge.GaugeType, Gauge.GaugeValueLabel, Gauge.PointerType, Gauge.TickLabelType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetTemperature(double temperature) voidsetTemperatureRange(double minTemp, double maxTemp) voidMethods inherited from class Gauge
setArc, setArcWidth, setLabels, setMaxValue, setMinValue, setPointer, setType, setValueMethods inherited from class com.vaadin.flow.component.react.ReactAdapterComponent
addStateChangeListener, addStateChangeListener, getContentElement, getState, getState, readFromJson, readFromJson, readFromJson, readFromJson, setState, writeAsJson, writeToJsonMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
TemperatureGauge
public TemperatureGauge() -
TemperatureGauge
public TemperatureGauge(double temperature)
-
-
Method Details
-
setTemperature
public void setTemperature(double temperature) -
setTemperatureRange
public void setTemperatureRange(double minTemp, double maxTemp) -
setTemperatureUnit
-