DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class UrlAction

java.lang.Object
  extended by com.cete.dynamicpdf.Action
      extended by com.cete.dynamicpdf.OutlineAnnotationAction
          extended by com.cete.dynamicpdf.UrlAction

public class UrlAction
extends OutlineAnnotationAction

This class can be used to specify a URL when defining a Link or a Bookmark.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:

View Example


Field Summary
 
Fields inherited from class com.cete.dynamicpdf.Action
text_A, text_Next, text_S, text_Type
 
Constructor Summary
UrlAction(java.lang.String url)
          Initializes a new instance of the UrlAction class.
 
Method Summary
 void draw(DocumentWriter writer)
          Draws the action to the specified DocumentWriter object.
 java.lang.String getURL()
          Gets the URL launched by the action.
 void setURL(java.lang.String value)
          Sets the URL launched by the action.
 
Methods inherited from class com.cete.dynamicpdf.OutlineAnnotationAction
getNextAction, setNextAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlAction

public UrlAction(java.lang.String url)
Initializes a new instance of the UrlAction class.

Parameters:
url - URL the action launches.
See Also:
UrlAction
Method Detail

setURL

public void setURL(java.lang.String value)
Sets the URL launched by the action.

Parameters:
value - the URL launched by the action.

getURL

public java.lang.String getURL()
Gets the URL launched by the action.

Returns:
the URL launched by the action.

draw

public void draw(DocumentWriter writer)
Draws the action to the specified DocumentWriter object.

Specified by:
draw in class Action
Parameters:
writer - DocumentWriter object to receive the actions output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software