* Adjusts the controller. This method is called from {@link
* #value(Comparable)} if the new value is different from the current value.
* Also, the value is clamped to fit within the range of this controller.
+ * <p/>
+ * This implementation does nothing.
*
* @param value
* The new value
*/
- protected abstract void valueSet(V value);
+ protected void valueSet(V value) {
+ /* do nothing. */
+ }
}
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public abstract class Fader extends AbstractController<Double> {
+public class Fader extends AbstractController<Double> {
/**
* Creates a new fader that is at maximum position.
*
* @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
-public abstract class Switch extends AbstractController<Boolean> {
+public class Switch extends AbstractController<Boolean> {
/**
* Creates a new switch that is off.