Class SendingSerial<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
- java.lang.Object
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware<T>
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingSerial<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
ISendingHardware<T>
public class SendingSerial<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware> extends SendingHardware<T> implements ISendingHardware<T>
This class does something interesting and useful. Or not...
-
-
Field Summary
-
Fields inherited from class org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware
guiUtils, PROP_PANEL, PROP_RAWIRSENDER, PROP_VERBOSE, properties
-
-
Constructor Summary
Constructors Constructor Description SendingSerial(Class<T> clazz, JPanel panel, SerialPortSimpleBean serialPortSimpleBean, Props props, GuiUtils guiUtils_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
T
getRawIrSender()
void
setup()
This function (re-)initializes the hardware.-
Methods inherited from class org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware
close, getPanel, getTransmitter, isValid, sendIr, setVerbose
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.harctoolbox.irscrutinizer.sendinghardware.ISendingHardware
close, getPanel, getTransmitter, isValid, sendIr, setVerbose
-
-
-
-
Method Detail
-
setup
public void setup() throws IOException
Description copied from interface:ISendingHardware
This function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.- Specified by:
setup
in interfaceISendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
- Specified by:
setup
in classSendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
- Throws:
IOException
-
getName
public String getName()
- Specified by:
getName
in interfaceISendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
- Specified by:
getName
in classSendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
-
getRawIrSender
public T getRawIrSender()
- Specified by:
getRawIrSender
in interfaceISendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
- Specified by:
getRawIrSender
in classSendingHardware<T extends org.harctoolbox.harchardware.ir.IRawIrSender & org.harctoolbox.harchardware.IHarcHardware>
- Returns:
- the rawIrSender
-
-