Class CapturingHardwareManager
- java.lang.Object
-
- org.harctoolbox.irscrutinizer.capturinghardware.CapturingHardwareManager
-
public class CapturingHardwareManager extends Object
This class does something interesting and useful. Or not...
-
-
Constructor Summary
Constructors Constructor Description CapturingHardwareManager(GuiUtils guiUtils, Props properties, JTabbedPane tabbedPane)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ICapturingHardware<?> hardware)
org.harctoolbox.ircore.ModulatedIrSequence
capture()
void
close()
org.harctoolbox.harchardware.ir.ICapture
getCapturer()
Collection<ICapturingHardware<?>>
getCapturingHardware()
ICapturingHardware<?>
getCapturingHardware(String name)
ICapturingHardware<?>
getHardware(JPanel panel)
JMenu
getMenu()
String[]
getNames()
ICapturingHardware<?>
getSelectedHardware()
boolean
hasSelection()
boolean
isReady()
void
select(String name)
void
selectDoWork(String name)
void
setVerbose(boolean verbose)
boolean
stopCapture()
-
-
-
Constructor Detail
-
CapturingHardwareManager
public CapturingHardwareManager(GuiUtils guiUtils, Props properties, JTabbedPane tabbedPane)
-
-
Method Detail
-
getCapturingHardware
public Collection<ICapturingHardware<?>> getCapturingHardware()
-
getSelectedHardware
public ICapturingHardware<?> getSelectedHardware()
-
getCapturer
public org.harctoolbox.harchardware.ir.ICapture getCapturer()
-
getHardware
public ICapturingHardware<?> getHardware(JPanel panel)
-
add
public void add(ICapturingHardware<?> hardware)
-
getNames
public String[] getNames()
-
getCapturingHardware
public ICapturingHardware<?> getCapturingHardware(String name)
-
setVerbose
public void setVerbose(boolean verbose)
-
isReady
public boolean isReady()
-
stopCapture
public boolean stopCapture()
-
hasSelection
public boolean hasSelection()
-
capture
public org.harctoolbox.ircore.ModulatedIrSequence capture() throws IOException, org.harctoolbox.harchardware.HarcHardwareException, org.harctoolbox.ircore.InvalidArgumentException
- Throws:
IOException
org.harctoolbox.harchardware.HarcHardwareException
org.harctoolbox.ircore.InvalidArgumentException
-
getMenu
public JMenu getMenu()
-
select
public void select(String name) throws IOException, org.harctoolbox.harchardware.HarcHardwareException
- Parameters:
name
-- Throws:
IOException
org.harctoolbox.harchardware.HarcHardwareException
-
selectDoWork
public void selectDoWork(String name) throws IOException, org.harctoolbox.harchardware.HarcHardwareException
- Parameters:
name
-- Throws:
IOException
org.harctoolbox.harchardware.HarcHardwareException
IllegalArgumentException
-
close
public void close()
-
-