Class GuiMain

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public final class GuiMain extends JFrame
See Also:
  • Field Details

    • chopThreshold

      public static final double chopThreshold
      See Also:
    • MAX_ENDING_TIMEOUT

      public static final int MAX_ENDING_TIMEOUT
      Maximal endingTimeout that is accepted.
      See Also:
  • Constructor Details

    • GuiMain

      public GuiMain(String applicationHome, String propsfilename, boolean verbose, List<String> arguments) throws IOException, ParserConfigurationException, SAXException, org.harctoolbox.irp.IrpParseException
      Constructor for the GUI. Throws exceptions if configuration files cannot be found or on similar errors. It may of course be questioned if this is necessary, however, it is faster for the user to install the files than for me to write code for semi-working in semi-broken situations.
      Parameters:
      applicationHome -
      propsfilename - Name of properties file. Null for system default.
      verbose - Verbose execution of some commands, dependent on invoked programs.
      arguments -
      Throws:
      ParserConfigurationException
      SAXException
      IOException
      org.harctoolbox.irp.IrpParseException
  • Method Details

    • scrutinizeIrSignal

      public void scrutinizeIrSignal(org.harctoolbox.ircore.IrSignal irSignal) throws org.harctoolbox.ircore.InvalidArgumentException
      Throws:
      org.harctoolbox.ircore.InvalidArgumentException
    • importCommands

      public int importCommands(org.harctoolbox.girr.RemoteSet remoteSet, org.harctoolbox.girr.Remote.MetaData metaData, boolean raw)
    • importCommands

      public int importCommands(org.harctoolbox.girr.Remote remote, org.harctoolbox.girr.Remote.MetaData metaData, boolean raw)
    • importCommands

      public int importCommands(org.harctoolbox.girr.CommandSet commandSet, org.harctoolbox.girr.Remote.MetaData metaData, boolean raw)
    • importCommand

      public int importCommand(org.harctoolbox.girr.Command command, boolean raw) throws org.harctoolbox.irp.IrpException, org.harctoolbox.ircore.IrCoreException
      Throws:
      org.harctoolbox.irp.IrpException
      org.harctoolbox.ircore.IrCoreException
    • transmit

      public boolean transmit(org.harctoolbox.girr.Command command) throws org.harctoolbox.irp.IrpException, org.harctoolbox.ircore.IrCoreException, IOException, HardwareUnavailableException, org.harctoolbox.harchardware.HarcHardwareException, org.harctoolbox.harchardware.ir.NoSuchTransmitterException, org.harctoolbox.ircore.InvalidArgumentException, HardwareBean.CannotSendException
      Throws:
      org.harctoolbox.irp.IrpException
      org.harctoolbox.ircore.IrCoreException
      IOException
      HardwareUnavailableException
      org.harctoolbox.harchardware.HarcHardwareException
      org.harctoolbox.harchardware.ir.NoSuchTransmitterException
      org.harctoolbox.ircore.InvalidArgumentException
      HardwareBean.CannotSendException
    • selectImportPane

      public void selectImportPane(ImportType type)