Interface ContinuousHardwareControl<HardwareBindingType extends HardwareBinding>
- All Superinterfaces:
HardwareBindingSource<HardwareBindingType>,HardwareControl,HardwareElement
- All Known Subinterfaces:
AbsoluteHardwareControl,AbsoluteHardwareKnob,HardwareSlider,RelativeHardwareControl,RelativeHardwareKnob
public interface ContinuousHardwareControl<HardwareBindingType extends HardwareBinding>
extends HardwareControl, HardwareBindingSource<HardwareBindingType>
Represents a hardware control that can input a relative or absolute value (for example, a slider, knob,
relative encoder...).
- Since:
- API version 10
-
Method Summary
Modifier and TypeMethodDescriptionAn optional button that can be associated with this control when this control can also act as a button (e.g by pressing down on it).Value that indicates if this hardware control has a target value that it changes or not.Can be called from thetargetValue()changed callback to check if this control is responsible for changing the target value or not.Value that represents a formatted text representation of the target's modulated value whenever the value changes.The value of the target that this hardware control has been bound to (0..1).voidsetHardwareButton(HardwareButton button) Sets an optional button that can be associated with this control when this control can also act as a button (e.g by pressing down on it).Value that represents a formatted text representation of the target value whenever the value changes.The name of the target that this hardware control has been bound to.The value of the target that this hardware control has been bound to (0..1).Methods inherited from interface com.bitwig.extension.controller.api.HardwareBindingSource
addBinding, canBindTo, clearBindings, setBindingMethods inherited from interface com.bitwig.extension.controller.api.HardwareControl
backgroundLight, beginTouchAction, endTouchAction, getName, isBeingTouched, setBackgroundLight, setIndexInGroup, setNameMethods inherited from interface com.bitwig.extension.controller.api.HardwareElement
getHeight, getId, getLabel, getLabelColor, getLabelPosition, getWidth, getX, getY, setBounds, setLabel, setLabelColor, setLabelPosition
-
Method Details
-
hardwareButton
HardwareButton hardwareButton()An optional button that can be associated with this control when this control can also act as a button (e.g by pressing down on it). -
setHardwareButton
Sets an optional button that can be associated with this control when this control can also act as a button (e.g by pressing down on it). -
targetName
StringValue targetName()The name of the target that this hardware control has been bound to.- Since:
- API version 11
-
targetValue
DoubleValue targetValue()The value of the target that this hardware control has been bound to (0..1). -
targetDisplayedValue
StringValue targetDisplayedValue()Value that represents a formatted text representation of the target value whenever the value changes.- Since:
- API version 11
-
modulatedTargetValue
DoubleValue modulatedTargetValue()The value of the target that this hardware control has been bound to (0..1).- Since:
- API version 11
-
modulatedTargetDisplayedValue
StringValue modulatedTargetDisplayedValue()Value that represents a formatted text representation of the target's modulated value whenever the value changes.- Since:
- API version 11
-
isUpdatingTargetValue
BooleanValue isUpdatingTargetValue()Can be called from thetargetValue()changed callback to check if this control is responsible for changing the target value or not. -
hasTargetValue
BooleanValue hasTargetValue()Value that indicates if this hardware control has a target value that it changes or not.
-