Interface AbsoluteHardwarControlBindable
- All Superinterfaces:
HardwareBindable
- All Known Subinterfaces:
Parameter,RemoteControl,Send,SettableRangedValue
Something that can be bound to an
AbsoluteHardwareControl and can respond to the user input (such
as user moving a slider up or down) in a meaningful way.- Since:
- API version 10
-
Method Summary
Modifier and TypeMethodDescriptiondefault AbsoluteHardwareControlBindingaddBinding(AbsoluteHardwareControl hardwareControl) Binds this target to the supplied hardware control so that when the user moves the hardware control this target will respond in a meaningful way.addBindingWithRange(AbsoluteHardwareControl hardwareControl, double minNormalizedValue, double maxNormalizedValue) Binds this target to the supplied hardware control so that when the user moves the hardware control this target will respond in a meaningful way.
-
Method Details
-
addBinding
Binds this target to the supplied hardware control so that when the user moves the hardware control this target will respond in a meaningful way. When the binding is no longer needed theHardwareBinding.removeBinding()method can be called on it.- Returns:
- The newly created binding
-
addBindingWithRange
AbsoluteHardwareControlBinding addBindingWithRange(AbsoluteHardwareControl hardwareControl, double minNormalizedValue, double maxNormalizedValue) Binds this target to the supplied hardware control so that when the user moves the hardware control this target will respond in a meaningful way. This target will be adjusted within the supplied normalized range. When the binding is no longer needed theHardwareBinding.removeBinding()method can be called on it.- Returns:
- The newly created binding
-