Class CockpitBox


  • public class CockpitBox
    extends CockpitValueControl
    Represents the Box control of the Cockpit.
    • Constructor Detail

      • CockpitBox

        protected CockpitBox​(com.uc4.util.XMLDocument doc,
                             org.w3c.dom.Element control)
    • Method Detail

      • isOnOff

        public boolean isOnOff()
        Return 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.
        Returns:
        OnOff
      • setOnOff

        public void setOnOff​(boolean onOff)
        Specify, whether the On/Off mode is used or not. If set to false the threshold values are used.
        Parameters:
        onOff - On/Off mode