Class SendingGenericSerialPort
- java.lang.Object
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
-
- org.harctoolbox.irscrutinizer.sendinghardware.SendingGenericSerialPort
-
- All Implemented Interfaces:
ISendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
public class SendingGenericSerialPort extends SendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial> implements ISendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
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 SendingGenericSerialPort(JPanel panel, GenericSerialSenderBean genericSerialSenderBean_, Props properties_, GuiUtils guiUtils_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
org.harctoolbox.harchardware.ir.IrGenericSerial
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
-
-
-
-
Constructor Detail
-
SendingGenericSerialPort
public SendingGenericSerialPort(JPanel panel, GenericSerialSenderBean genericSerialSenderBean_, Props properties_, GuiUtils guiUtils_)
- Parameters:
panel
-genericSerialSenderBean_
-properties_
-guiUtils_
-
-
-
Method Detail
-
setup
public void setup() throws IOException, org.harctoolbox.harchardware.HarcHardwareException
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<org.harctoolbox.harchardware.ir.IrGenericSerial>
- Specified by:
setup
in classSendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
- Throws:
IOException
org.harctoolbox.harchardware.HarcHardwareException
-
getName
public String getName()
- Specified by:
getName
in interfaceISendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
- Specified by:
getName
in classSendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
-
getRawIrSender
public org.harctoolbox.harchardware.ir.IrGenericSerial getRawIrSender()
- Specified by:
getRawIrSender
in interfaceISendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
- Specified by:
getRawIrSender
in classSendingHardware<org.harctoolbox.harchardware.ir.IrGenericSerial>
- Returns:
- the rawIrSender
-
-