endrov.hardwareMicromanager
Class MMDeviceAdapter
java.lang.Object
endrov.hardwareMicromanager.MMDeviceAdapter
- All Implemented Interfaces:
- EvDevice
- Direct Known Subclasses:
- MMAutoFocus, MMSerial, MMStage, MMState
public class MMDeviceAdapter
- extends java.lang.Object
- implements EvDevice
Micro manager generic device adapter, mapped to Endrov hardware
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mm
protected MicroManager mm
mmDeviceName
protected java.lang.String mmDeviceName
event
public EvDeviceObserver event
MMDeviceAdapter
public MMDeviceAdapter(MicroManager mm,
java.lang.String mmDeviceName)
getDescName
public java.lang.String getDescName()
- Description copied from interface:
EvDevice
- Descriptive name of hardware
- Specified by:
getDescName
in interface EvDevice
getPropertyMap
public java.util.SortedMap<java.lang.String,java.lang.String> getPropertyMap()
- Specified by:
getPropertyMap
in interface EvDevice
getPropertyTypes
public java.util.SortedMap<java.lang.String,DevicePropertyType> getPropertyTypes()
- Specified by:
getPropertyTypes
in interface EvDevice
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String prop)
- Specified by:
getPropertyValue
in interface EvDevice
getPropertyValueBoolean
public java.lang.Boolean getPropertyValueBoolean(java.lang.String prop)
- Specified by:
getPropertyValueBoolean
in interface EvDevice
setPropertyValue
public void setPropertyValue(java.lang.String prop,
java.lang.String value)
- Specified by:
setPropertyValue
in interface EvDevice
setPropertyValue
public void setPropertyValue(java.lang.String prop,
boolean value)
- Specified by:
setPropertyValue
in interface EvDevice
hasConfigureDialog
public boolean hasConfigureDialog()
- Specified by:
hasConfigureDialog
in interface EvDevice
openConfigureDialog
public void openConfigureDialog()
- Specified by:
openConfigureDialog
in interface EvDevice
addDeviceListener
public void addDeviceListener(EvDeviceObserver.DeviceListener listener)
- Description copied from interface:
EvDevice
- Add a listener for updates. The pointer to the listener is weak
- Specified by:
addDeviceListener
in interface EvDevice
removeDeviceListener
public void removeDeviceListener(EvDeviceObserver.DeviceListener listener)
- Specified by:
removeDeviceListener
in interface EvDevice