Class CommandFusionBean

All Implemented Interfaces:
ImageObserver, MenuContainer, Closeable, Serializable, AutoCloseable, Accessible

public final class CommandFusionBean extends SerialHardwareBean
See Also:
  • Constructor Details

    • CommandFusionBean

      public CommandFusionBean()
    • CommandFusionBean

      public CommandFusionBean(GuiUtils guiUtils)
    • CommandFusionBean

      public CommandFusionBean(GuiUtils guiUtils, boolean verbose, String initialPort)
  • Method Details

    • setupHardware

      protected void setupHardware() throws IOException
      Specified by:
      setupHardware in class SerialHardwareBean
      Throws:
      IOException
    • getVersion

      public String getVersion()
      Returns:
      the version
    • setVersion

      protected void setVersion()
      Specified by:
      setVersion in class SerialHardwareBean
    • enableStuff

      protected void enableStuff(boolean isOpen)
      Specified by:
      enableStuff in class SerialHardwareBean
    • canCapture

      public boolean canCapture()
      Description copied from class: HardwareBean
      Default implementation, override whenever the subclass can capture.
      Overrides:
      canCapture in class HardwareBean
      Returns:
      false
    • capture

      public org.harctoolbox.ircore.ModulatedIrSequence capture() throws IOException, org.harctoolbox.ircore.InvalidArgumentException
      Description copied from class: HardwareBean
      Default implementation, override whenever the subclass can capture.
      Overrides:
      capture in class HardwareBean
      Returns:
      ModulatedSequence captured, or null.
      Throws:
      IOException
      org.harctoolbox.ircore.InvalidArgumentException
    • canSend

      public boolean canSend()
      Description copied from class: HardwareBean
      Default implementation, override whenever the subclass can send.
      Overrides:
      canSend in class HardwareBean
      Returns:
      false
    • sendIr

      public boolean sendIr(org.harctoolbox.ircore.IrSignal irSignal, int count) throws IOException
      Description copied from class: HardwareBean
      Default implementation, override whenever the subclass can send.
      Overrides:
      sendIr in class HardwareBean
      Returns:
      success of operation
      Throws:
      IOException
    • getName

      public String getName()
      Description copied from class: HardwareBean
      Returns a somewhat friendly name of the class.
      Overrides:
      getName in class HardwareBean
      Returns:
      name
    • enableOpenToggleButton

      protected void enableOpenToggleButton(boolean enabled)
      Specified by:
      enableOpenToggleButton in class SerialHardwareBean