Class UrlAction

java.lang.Object
com.dynamicpdf.api.Action
com.dynamicpdf.api.UrlAction

public class UrlAction extends Action
Represents an action linking to an external URL.
  • Constructor Details

    • UrlAction

      public UrlAction(String url)
      Initializes a new instance of the UrlAction class.
      Parameters:
      url - URL the action launches.
  • Method Details

    • getUrl

      public String getUrl()
      Gets the URL launched by the action.
      Returns:
      The URL launched by the action.
    • setUrl

      public void setUrl(String url)
      Sets the URL launched by the action.
      Parameters:
      url - The URL launched by the action.