public class CockpitBox extends CockpitValueControl
Cockpit.CockpitValueControl.ValueFormatdataSource, minColorRed, thresholds, valueFormat| Modifier | Constructor and Description |
|---|---|
protected |
CockpitBox(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element control) |
| 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, setWidth, storeprotected CockpitBox(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element control)
public 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 mode