blob: 8159af396d11f4cf40c46457a97308dca8bc0835 [file] [log] [blame]
/*
* Copyright (c) 2020 Kentyou.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kentyou - initial API and implementation
*/
package org.eclipse.sensinact.gateway.simulated.slider.internal;
import org.eclipse.sensinact.gateway.simulated.slider.api.SliderSetterItf;
public class SliderSetter implements SliderSetterItf {
private final SliderAdapter listener;
public SliderSetter(SliderAdapter listener) {
this.listener = listener;
}
public void move(int value) {
this.listener.mouseReleased(value);
}
public void stop() {
}
}