Interface EnablerParameter

    • Method Detail

      • addDisabledOnSelection

        void addDisabledOnSelection​(Parameter... parametersToDisable)
        disables parameter when EnablerParameter is selected.
        Parameters:
        parametersToDisable - the Parameter to act on
        Since:
        BiglyBT 1.9.0.1
      • addDisabledOnSelection

        void addDisabledOnSelection​(Parameter parameterToDisable)
        disables parameter when EnablerParameter is selected.
        Parameters:
        parameterToDisable - the Parameter to act on
        Since:
        BiglyBT 1.0.0.0
      • addEnabledOnSelection

        void addEnabledOnSelection​(Parameter paramToEnable)
        enables paramToEnable when this EnablerParameter is selected (checked).
        paramToEnable is disabled when this EnablerParameter isn't selected (checked).

        Note: When this EnableParameter is disabled, paramToEnable's state will not be modified. In cases where parameter1 is enabled by its parent, and parameter1 enabled children, you must also parent.addEnabledOnSelection(children) if you want the children to be disabled when parent is unselected (unchecked).

        Parameters:
        paramToEnable - the Parameter to act on
        Since:
        BiglyBT 1.0.0.0
      • addEnabledOnSelection

        void addEnabledOnSelection​(Parameter... parametersToEnable)
        enables paramToEnable when this EnablerParameter is selected (checked).
        paramToEnable is disabled when this EnablerParameter isn't selected (checked).

        Note: When this EnableParameter is disabled, parametersToDisable's state will not be modified. In cases where parameter1 is enabled by its parent, and parameter1 enabled children, you must also parent.addEnabledOnSelection(children) if you want the children to be disabled when parent is unselected (unchecked).

        Parameters:
        parametersToEnable - the Parameter to act on
        Since:
        BiglyBT 1.9.0.1