Class ResetTableModel

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.swing.table.TableModel

    public class ResetTableModel
    extends ExtraMenuTableModel
    Holds a table of the available factory resets available for a particular decoder.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.table.AbstractTableModel

        listenerList
    • Constructor Summary

      Constructors 
      Constructor Description
      ResetTableModel​(javax.swing.JLabel status, Programmer pProgrammer)  
    • Method Detail

      • badModeOk

        boolean badModeOk​(java.lang.String currentMode,
                          java.lang.String resetModes,
                          java.lang.String availableModes)
        Can provide some mechanism to prompt for user for one last chance to change his/her mind
        Overrides:
        badModeOk in class ExtraMenuTableModel
        Parameters:
        currentMode - current programming mode
        resetModes - representation of reset modes available
        availableModes - representation of available modes
        Returns:
        true if user says to continue
      • opsResetOk

        boolean opsResetOk()
        Can provide some mechanism to prompt for user for one last chance to change his/her mind
        Overrides:
        opsResetOk in class ExtraMenuTableModel
        Returns:
        true if user says to continue