public class CockpitBox extends CockpitValueControl
Cockpit.CockpitValueControl.ValueFormat| Modifier and Type | Method and Description |
|---|---|
boolean |
isOnOff()
Return
true if the On/Off function is used, false if the
threshold values. |
void |
setOnOff(boolean onOff)
Specify, whether the On/Off mode is used or not.
|
dataSource, getValueFormat, isMinColorRed, setMinColorRed, setValueFormat, thresholdsgetCaption, getHeight, getId, getLeft, getTop, getWidth, setCaption, setHeight, setLeft, setTop, setWidthpublic boolean isOnOff()
true if the On/Off function is used, false if the
threshold values. It also returns false if the value format is set to ValueFormat.TEXT.public void setOnOff(boolean onOff)
false the threshold values are used.onOff - On/Off modeCopyright © 2021. All rights reserved.