Class RemoteCommands

    • Field Detail

      • m_MenuItemCC

        protected JMenuItem m_MenuItemCC
        the control center menu item.
      • m_MenuItemStart

        protected JMenuItem m_MenuItemStart
        the start listening menu item.
      • m_MenuItemStop

        protected JMenuItem m_MenuItemStop
        the stop listening menu item.
      • m_MenuItemSend

        protected JMenuItem m_MenuItemSend
        the send menu item.
      • m_LastCommand

        protected RemoteCommand m_LastCommand
        the last command sent.
      • m_LastConnection

        protected Connection m_LastConnection
        the last connection used.
      • m_LastCommandProcessor

        protected RemoteCommandProcessor m_LastCommandProcessor
        the last command processor used.
    • Constructor Detail

      • RemoteCommands

        public RemoteCommands​(AbstractApplicationFrame owner)
        Initializes the menu item.
        Parameters:
        owner - the owning application
    • Method Detail

      • getCategory

        public String getCategory()
        Returns the category of the menu item in which it should appear, i.e., the name of the menu.
        Specified by:
        getCategory in class AbstractMenuItemDefinition
        Returns:
        the category/menu name
      • isSingleton

        public boolean isSingleton()
        Whether the panel can only be displayed once.
        Specified by:
        isSingleton in class AbstractMenuItemDefinition
        Returns:
        true if the panel can only be displayed once
      • startScripting

        protected void startScripting()
        Allows the user to select and configure a scripting engine before starting it.
      • sendCommand

        protected void sendCommand()
        Allows the sending of a remote command.
      • updateMenu

        protected void updateMenu()
        Updates the menu items.