Package hec.tcu

Class AcknowledgeInterimTermsFileDialog

All Implemented Interfaces:
ComponentListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, Modifiable

public abstract class AcknowledgeInterimTermsFileDialog extends RmaJDialog
A Dialog to show Interim Terms and Conditions for Beta releases. Will display a file, and remembers if it was marked as "Do not show again" for the current version of the application.
See Also:
  • Constructor Details

    • AcknowledgeInterimTermsFileDialog

      protected AcknowledgeInterimTermsFileDialog(Window parent, String title, Path tcuFile)
      Create a new Beta TCU File Dialog
      Parameters:
      parent - The parent for the dialog
      title - The title for the dialog
      tcuFile - The file to display in the dialog
  • Method Details

    • setVisible

      public void setVisible(boolean visible)
      Description copied from class: RmaJDialog
      make sure the ok button is the default button when the dialog comes up.
      Overrides:
      setVisible in class RmaJDialog
    • getApplicationPreferenceNode

      protected abstract Preferences getApplicationPreferenceNode()
      Returns:
      The preferences node for the application
    • shouldShowDialogAtStartup

      public boolean shouldShowDialogAtStartup()
      Returns:
      True if the dialog should be shown at startup, false if the user has chosen to opt-out of seeing the dialog for this version
    • getVersion

      public String getVersion()
      Returns:
      The version of the application
    • getAppVersionProperties

      protected abstract Properties getAppVersionProperties()
      Returns:
      The Properties for the current application's version
      See Also: