|
Control Surface API
3.1.2
|

Public Member Functions | |
| void | setAdjustValueMatcher (AbsoluteHardwareValueMatcher matcher) |
| DoubleValue | value () |
| DoubleValue | targetValue () |
| BooleanValue | isUpdatingTargetValue () |
| BooleanValue | hasTargetValue () |
| void | disableTakeOver () |
| AbsoluteHardwareControlBinding | addBindingWithRange (AbsoluteHardwarControlBindable target, double minNormalizedValue, double maxNormalizedValue) |
| AbsoluteHardwareControlBinding | setBindingWithRange (AbsoluteHardwarControlBindable target, double minNormalizedValue, double maxNormalizedValue) |
Public Member Functions inherited from ContinuousHardwareControl< AbsoluteHardwareControlBinding > | |
| HardwareButton | hardwareButton () |
| void | setHardwareButton (HardwareButton button) |
Represents a hardware control that can input and absolute value (for example, a slider, knob or foot pedal).
Definition at line 9 of file AbsoluteHardwareControl.java.
| AbsoluteHardwareControlBinding addBindingWithRange | ( | AbsoluteHardwarControlBindable | target, |
| double | minNormalizedValue, | ||
| double | maxNormalizedValue | ||
| ) |
Adds a new binding from this hardware control to the supplied target.
| void disableTakeOver | ( | ) |
Determines if this hardware control should immediately take over the parameter it is bound to rather than respecting the user's current take over mode.
This is useful for motorized sliders for example, where the slider is already at the value of the bound parameter.
| BooleanValue hasTargetValue | ( | ) |
Value that indicates if this hardware control has a target value that it changes or not.
| BooleanValue isUpdatingTargetValue | ( | ) |
Can be called from the targetValue() changed callback to check if this control is responsible for changing the target value or not.
| void setAdjustValueMatcher | ( | AbsoluteHardwareValueMatcher | matcher | ) |
Sets the AbsoluteHardwareValueMatcher that can be used to detect when the user adjusts the hardware control's value.
| AbsoluteHardwareControlBinding setBindingWithRange | ( | AbsoluteHardwarControlBindable | target, |
| double | minNormalizedValue, | ||
| double | maxNormalizedValue | ||
| ) |
Convenience methods that ensures there is only a single binding to the supplied target. This is equivalent to calling clearBindings() and then addBindingWithRange(AbsoluteHardwarControlBindable, double, double)
| DoubleValue targetValue | ( | ) |
The value of the target that this hardware control has been bound to (0..1).
| DoubleValue value | ( | ) |
The current value of this hardware control (0..1)