Class RatControlPanel

    • Field Detail

      • m_ButtonStopStart

        protected adams.gui.core.BaseButton m_ButtonStopStart
        the button for stopping/starting.
    • Constructor Detail

      • RatControlPanel

        public RatControlPanel()
    • Method Detail

      • stop

        public void stop()
        Stops the rat.
      • start

        public void start()
        Starts the rat.
      • stopOrStart

        public void stopOrStart()
        Stops/starts the rat.
      • setStoppable

        public void setStoppable​(boolean value)
        Sets the "stoppable" state of the control panel.
        Parameters:
        value - true if to enable
      • isStoppable

        public boolean isStoppable()
        Returns whether the "stoppable" state of the control panel is enabled.
        Returns:
        true if enabled
      • checkBoxBulkActionTrigger

        protected void checkBoxBulkActionTrigger​(boolean value)
        For custom actions when the bulk action checkbox is selected/unselected.
        Overrides:
        checkBoxBulkActionTrigger in class AbstractControlPanel<Rat>
        Parameters:
        value - whether to check or uncheck