public abstract class AbstractInputDevice<T extends DeviceEvent> extends AbstractDevice
Constructor and Description |
---|
AbstractInputDevice(String key,
DeviceFactoryInterface deviceFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
disableListener() |
protected void |
enableListener() |
void |
removeListener() |
void |
setListener(InputEventListener<T> listener) |
void |
valueChanged(T event) |
close, closeDevice, getDeviceFactory, getKey, isOpen
public AbstractInputDevice(String key, DeviceFactoryInterface deviceFactory)
public void valueChanged(T event)
public final void setListener(InputEventListener<T> listener)
public final void removeListener()
protected void enableListener()
protected void disableListener()
Copyright © 2016–2017 mattjlewis. All rights reserved.