Class BackupListPanel

    • Field Detail

      • parentDirectory

        protected JTextField parentDirectory
        The text field containing the parent directory.
      • lPath

        protected JLabel lPath
        Label for the path field.
      • lAvailableBackups

        protected JLabel lAvailableBackups
        Label for the list.
      • lRefreshingList

        protected JLabel lRefreshingList
        Refreshing list label (displayed instead of the list when this one is being refreshed).
      • refreshList

        protected JButton refreshList
        Refresh list button.
      • verifyBackup

        protected JButton verifyBackup
        Verify backup button.
      • browse

        protected JButton browse
        Browse button.
      • tableScroll

        protected JScrollPane tableScroll
        The scroll that contains the list of backups (actually is a table).
      • backupList

        protected JTable backupList
        The list of backups.
    • Constructor Detail

      • BackupListPanel

        protected BackupListPanel()
        Default constructor.
    • Method Detail

      • getSelectedBackup

        protected BackupDescriptor getSelectedBackup()
        Returns the selected backup in the list.
        Returns:
        the selected backup in the list.
      • verifyBackupClicked

        protected abstract void verifyBackupClicked()
        Notification that the verify button was clicked. Whatever is required to be done must be done in this method.
      • createLayout

        protected void createLayout​(GridBagConstraints gbc)
        Creates the components and lays them in the panel.
        Parameters:
        gbc - the grid bag constraints to be used.
      • refreshList

        protected void refreshList()
        Refresh the list of backups by looking in the backups defined under the provided parent backup directory.
      • configurationChanged

        public void configurationChanged​(ConfigurationChangeEvent ev)
        Description copied from interface: ConfigChangeListener
        Method that is called when a change in the configuration occurred.
        Parameters:
        ev - the configuration change event.
      • toBeDisplayed

        public void toBeDisplayed​(boolean visible)
        Description copied from class: StatusGenericPanel
        The panel is notified that the dialog is going to be visible or invisible.
        Overrides:
        toBeDisplayed in class StatusGenericPanel
        Parameters:
        visible - whether is going to be visible or not.