Class LaunchDefaultBrowser

  • All Implemented Interfaces:
    Referenceable

    public final class LaunchDefaultBrowser
    extends Action
    Launches the user's default web browser with the arguments developers specify. It can open a URL or a file on the system. (Should be used only during Pre-Install, Post-Install, Pre-Uninstall, and Post-Uninstall phases.)
    • Constructor Detail

      • LaunchDefaultBrowser

        public LaunchDefaultBrowser()
    • Method Detail

      • setShowPleaseWaitPanel

        public void setShowPleaseWaitPanel​(boolean show)
        Whether to show a "Please wait..." panel while executing the action.
      • getShowPleaseWaitPanel

        public boolean getShowPleaseWaitPanel()
        Whether to show a "Please wait..." panel while executing the action.
      • setInstalledFile

        public void setInstalledFile​(FileAction file)
        The installed file to open. This option is only available at post-install phase.
        See Also:
        setUseInstalledFile(boolean)
      • getURL

        public java.lang.String getURL()
        The URL to open.
      • getUseInstalledFile

        public boolean getUseInstalledFile()
        Whether to open an installed file to open.
      • setUseInstalledFile

        public void setUseInstalledFile​(boolean useTarget)
        Whether to open an installed file to open. This option is only available at post-install phase.