com.confusionists.mjdjApi.midiDevice
Class AbstractDeviceWrapper
java.lang.Object
com.confusionists.mjdjApi.midiDevice.AbstractDeviceWrapper
- All Implemented Interfaces:
- DeviceWrapper
- Direct Known Subclasses:
- AbstractReceiverDeviceWrapper, AbstractTransmitterDeviceWrapper
public abstract class AbstractDeviceWrapper
- extends java.lang.Object
- implements DeviceWrapper
Default base class for ReceiverDeviceWrapper and TransmitterDeviceWrapper.
Subclasses should extend one of those two.
- Author:
- DanielRosenstark [at_sign] confusionists.com
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractDeviceWrapper
public AbstractDeviceWrapper()
setService
public void setService(MjdjService service)
- Specified by:
setService in interface DeviceWrapper
getService
public MjdjService getService()
- Specified by:
getService in interface DeviceWrapper
setActive
public void setActive(boolean active)
- Specified by:
setActive in interface DeviceWrapper
isActive
public boolean isActive()
- Specified by:
isActive in interface DeviceWrapper
toString
public java.lang.String toString()
- Specified by:
toString in interface DeviceWrapper- Overrides:
toString in class java.lang.Object
toggleUi
public void toggleUi()
- Description copied from interface:
DeviceWrapper
- Implementers can just do nothing in this method if there is no UI to show
- Specified by:
toggleUi in interface DeviceWrapper