Interface Device
-
- All Superinterfaces:
Plugin
- All Known Implementing Classes:
AbstractDevice
public interface Device extends Plugin
Device plugin root interface.Should be implemented by a plugin. There should exist just one implementation. When a device has more physical interfaces which can accept connections, each of them should be implemented by own
DeviceContext
.- See Also:
DeviceContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isGuiSupported()
Returns true if this device has GUI.void
showGUI(javax.swing.JFrame parent)
Shows GUI of the device.-
Methods inherited from interface net.emustudio.emulib.plugins.Plugin
destroy, getCopyright, getDescription, getTitle, getVersion, initialize, isAutomationSupported, isShowSettingsSupported, reset, showSettings
-
-
-
-
Method Detail
-
showGUI
void showGUI(javax.swing.JFrame parent)
Shows GUI of the device.In case GUI is not supported, it should do nothing.
- Parameters:
parent
- emuStudio main window
-
isGuiSupported
boolean isGuiSupported()
Returns true if this device has GUI.- Returns:
- true if GUI is supported; false otherwise
-
-