Package com.uc4.api.objects
Class CockpitBox
java.lang.Object
com.uc4.api.objects.CockpitControl
com.uc4.api.objects.CockpitValueControl
com.uc4.api.objects.CockpitBox
Represents the Box control of the
Cockpit
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.uc4.api.objects.CockpitValueControl
CockpitValueControl.ValueFormat
-
Field Summary
Fields inherited from class com.uc4.api.objects.CockpitValueControl
dataSource, minColorRed, thresholds, valueFormat
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CockpitBox
(com.uc4.util.XMLDocument doc, Element control) -
Method Summary
Methods inherited from class com.uc4.api.objects.CockpitValueControl
dataSource, getValueFormat, isMinColorRed, setMinColorRed, setValueFormat, thresholds
Methods inherited from class com.uc4.api.objects.CockpitControl
getCaption, getHeight, getId, getLeft, getTop, getWidth, setCaption, setHeight, setLeft, setTop, setWidth, store
-
Constructor Details
-
CockpitBox
-
-
Method Details
-
isOnOff
public boolean isOnOff()Returntrue
if the On/Off function is used,false
if the threshold values. It also returnsfalse
if the value format is set toValueFormat.TEXT
.- Returns:
- OnOff
-
setOnOff
public void setOnOff(boolean onOff) Specify, whether the On/Off mode is used or not. If set tofalse
the threshold values are used.- Parameters:
onOff
- On/Off mode
-