org.harctoolbox.irscrutinizer.capturinghardware
Class CapturingLircMode2

java.lang.Object
  extended by org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
      extended by org.harctoolbox.irscrutinizer.capturinghardware.CapturingLircMode2
All Implemented Interfaces:
org.harctoolbox.harchardware.IHarcHardware, ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>

public class CapturingLircMode2
extends CapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
implements ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>, org.harctoolbox.harchardware.IHarcHardware

This class does something interesting and useful. Or not...


Field Summary
 
Fields inherited from class org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware
beginTimeout, endTimeout, guiUtils, hardware, maxLearnLength, properties, verbose
 
Constructor Summary
CapturingLircMode2(java.lang.String commandName, javax.swing.JPanel panel, Props properties, org.harctoolbox.guicomponents.GuiUtils guiUtils, CapturingHardwareManager capturingHardwareManager)
           
 
Method Summary
 java.lang.String getCommandName()
           
 java.lang.String getName()
           
 void open()
           
 void setCommandName(java.lang.String commandName)
           
 void setup()
          This function (re-)initializes the hardware.
 
Methods inherited from class org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardware
capture, close, getCapturer, getPanel, getVersion, isValid, selectMe, setTimeout, setupHardwareCommonEnd, setVerbose, setVerbosity, stopCapture
 
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.capturinghardware.ICapturingHardware
capture, close, getCapturer, getPanel, getVersion, isValid, setTimeout, setVerbose, stopCapture
 
Methods inherited from interface org.harctoolbox.harchardware.IHarcHardware
close, getVersion, isValid, setTimeout, setVerbosity
 

Constructor Detail

CapturingLircMode2

public CapturingLircMode2(java.lang.String commandName,
                          javax.swing.JPanel panel,
                          Props properties,
                          org.harctoolbox.guicomponents.GuiUtils guiUtils,
                          CapturingHardwareManager capturingHardwareManager)
Method Detail

getCommandName

public java.lang.String getCommandName()
Returns:
the commandName

setCommandName

public void setCommandName(java.lang.String commandName)
Parameters:
commandName - the commandName to set

open

public void open()
          throws java.io.IOException
Specified by:
open in interface org.harctoolbox.harchardware.IHarcHardware
Throws:
java.io.IOException

setup

public void setup()
Description copied from interface: ICapturingHardware
This function (re-)initializes the hardware. The construction should not. If the parameters has not changed, should not re-initialize.

Specified by:
setup in interface ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>

getName

public java.lang.String getName()
Specified by:
getName in interface ICapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>
Specified by:
getName in class CapturingHardware<org.harctoolbox.harchardware.ir.LircMode2>