Class HumidityGauge
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.react.ReactAdapterComponent
in.virit.Gauge
in.virit.HumidityGauge
- 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 humidity values with appropriate
color coding and range settings for humidity 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 TypeMethodDescriptiongetHumidityLevel(double humidity) getHumidityRecommendation(double humidity) voidsetHumidity(double humidity) Methods 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
-
HumidityGauge
public HumidityGauge() -
HumidityGauge
public HumidityGauge(double humidity)
-
-
Method Details
-
setHumidity
public void setHumidity(double humidity) -
getHumidityLevel
-
getHumidityRecommendation
-