Class RatsTab

    • Field Detail

      • m_PanelRats

        protected JPanel m_PanelRats
        the panel with rats.
      • m_ButtonRefreshRats

        protected adams.gui.core.BaseButton m_ButtonRefreshRats
        the button for updating the rats states.
    • Constructor Detail

      • RatsTab

        public RatsTab()
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class adams.gui.tools.remotecontrolcenter.panels.AbstractRemoteFlowTab
      • finishInit

        protected void finishInit()
        Finishes up the initialization.
        Overrides:
        finishInit in class adams.gui.tools.remotecontrolcenter.panels.AbstractRemoteFlowTab
      • getTitle

        public String getTitle()
        Returns the title of the tab.
        Specified by:
        getTitle in class adams.gui.tools.remotecontrolcenter.panels.AbstractRemoteControlCenterTab
        Returns:
        the title
      • getTabIcon

        public String getTabIcon()
        Returns the name of icon to use for the tab.
        Specified by:
        getTabIcon in class adams.gui.tools.remotecontrolcenter.panels.AbstractRemoteControlCenterTab
        Returns:
        the icon
      • updateButtons

        protected void updateButtons()
        Updates the state of the buttons.
        Overrides:
        updateButtons in class adams.gui.tools.remotecontrolcenter.panels.AbstractRemoteFlowTab
      • refreshRats

        public void refreshRats()
        Sends command to retrieve rats status.
      • clearStatus

        protected void clearStatus()
        Clears the rat status panel.
      • updateRats

        protected void updateRats​(adams.data.spreadsheet.SpreadSheet status)
        Updates the rat status panel.
        Parameters:
        status - the current status