Class CockpitTrafficLights


public class CockpitTrafficLights extends CockpitValueControl
Represents the Traffic light control of the Cockpit.
  • Constructor Details

    • CockpitTrafficLights

      protected CockpitTrafficLights(com.uc4.util.XMLDocument doc, Element control)
  • Method Details

    • 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